37 lines
783 B
PHP
37 lines
783 B
PHP
<?php
|
|
|
|
namespace App\Models\Tenants;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* 테넌트 설정 모델
|
|
*
|
|
* @property int $id
|
|
* @property int $tenant_id
|
|
* @property string $setting_group
|
|
* @property string $setting_key
|
|
* @property array|null $setting_value
|
|
* @property string|null $description
|
|
* @property int|null $updated_by
|
|
* @property \Illuminate\Support\Carbon|null $created_at
|
|
* @property \Illuminate\Support\Carbon|null $updated_at
|
|
*/
|
|
class TenantSetting extends Model
|
|
{
|
|
protected $table = 'tenant_settings';
|
|
|
|
protected $fillable = [
|
|
'tenant_id',
|
|
'setting_group',
|
|
'setting_key',
|
|
'setting_value',
|
|
'description',
|
|
'updated_by',
|
|
];
|
|
|
|
protected $casts = [
|
|
'setting_value' => 'array',
|
|
];
|
|
}
|