Files
sam-api/app/Models/Tenants/TenantOptionValue.php
hskwon aa190bf48d fix : 테넌트별 옵션설정 작업
- Tenant Fields
- Tenant Option Groups
- Tenant Option Values
- Tenant Profiles
2025-08-18 19:03:46 +09:00

28 lines
475 B
PHP

<?php
namespace App\Models\Tenants;
use Illuminate\Database\Eloquent\Model;
class TenantOptionValue extends Model
{
public $timestamps = false;
protected $casts = [
'is_active' => 'boolean',
];
protected $fillable = [
'group_id',
'value_key',
'value_label',
'sort_order',
'is_active',
];
public function group()
{
return $this->belongsTo(TenantOptionGroup::class, 'group_id');
}
}