Initial commit
This commit is contained in:
33
app/plugins/members/models/membershipAssociations.php
Normal file
33
app/plugins/members/models/membershipAssociations.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* app/plugins/members/models/membershipAssociations.php
|
||||
*
|
||||
* This class is used for the manipulation of the membership associations database table.
|
||||
*
|
||||
* @package TP Members
|
||||
* @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\Canary as Debug;
|
||||
use TheTempusProject\Bedrock\Functions\Check;
|
||||
use TheTempusProject\Bedrock\Functions\Sanitize;
|
||||
use TheTempusProject\Classes\DatabaseModel;
|
||||
use TheTempusProject\TheTempusProject as App;
|
||||
|
||||
class MembershipAssociations extends DatabaseModel {
|
||||
public $tableName = 'membership_associations';
|
||||
public $databaseMatrix = [
|
||||
[ 'model_type', 'string', '' ],
|
||||
[ 'model_id', 'int', '10' ],
|
||||
[ 'membership_id', 'int', '10' ],
|
||||
];
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user