Files
sam-manage/app/Models/Tenants/TenantSetting.php
권혁성 f06ea8cc7e feat:테넌트설정, 공통코드관리, 메뉴동기화 기능 추가
- 테넌트 설정 페이지 (재고관리 품목유형 등)
- 공통코드 관리 페이지 (글로벌/테넌트별 코드 관리)
- 메뉴 동기화 기능 (로컬↔개발↔운영 환경간 메뉴 Push/Pull)
2026-01-26 20:16:05 +09:00

36 lines
782 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',
];
}