Basic tenant structure
This commit is contained in:
39
app/Models/Tenant.php
Normal file
39
app/Models/Tenant.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Scopes\CommonModel;
|
||||
|
||||
/**
|
||||
* @property string $slug
|
||||
* @property string $local_group
|
||||
* @property string $email
|
||||
* @property string $url
|
||||
* @property string $account_iban
|
||||
* @property string $city
|
||||
* @property string $postcode
|
||||
* @property string $gdpr_text
|
||||
* @property string $impress_text
|
||||
* @property string $url_participation_rules
|
||||
* @property boolean $events_allowed
|
||||
* @property boolean $has_active_instance
|
||||
*/
|
||||
class Tenant extends CommonModel
|
||||
{
|
||||
public const PRIMARY_TENANT_NAME = 'LV';
|
||||
|
||||
protected $fillable = [
|
||||
'slug',
|
||||
'local_group_name',
|
||||
'email',
|
||||
'url',
|
||||
'account_iban',
|
||||
'city',
|
||||
'postcode',
|
||||
'gdpr_text',
|
||||
'impress_text',
|
||||
'url_participation_rules',
|
||||
'is_active_local_group',
|
||||
'has_active_instance'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user