add memberships and bookmarks

This commit is contained in:
Joey Kimsey
2024-12-03 00:16:51 -05:00
parent bf7b7ba1c9
commit 03aedc3020
28 changed files with 2314 additions and 0 deletions

View File

@ -0,0 +1,36 @@
<?php
/**
* app/plugins/blog/models/blog.php
*
* This class is used for the manipulation of the blog database table.
*
* @package TP Blog
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Models;
use TheTempusProject\Canary\Bin\Canary as Debug;
use TheTempusProject\Bedrock\Functions\Check;
use TheTempusProject\Bedrock\Functions\Sanitize;
use TheTempusProject\Classes\DatabaseModel;
use TheTempusProject\TheTempusProject as App;
class Members extends DatabaseModel {
public $tableName = 'memberships';
public $databaseMatrix = [
[ 'name', 'varchar', '155' ],
// renews?
// does this renew periodically?
// renewal period?
// if periodic, how frequent?
// renewal type?
// automatic, manual review, paid
];
public function __construct() {
parent::__construct();
}
}