fix : Tenant API 추가

- 테넌트 목록 조회
- 테넌트 정보 조회
- 테넌트 정보 수정
- 테넌트 등록
- 테넌트 삭제
- 테넌트 복구
This commit is contained in:
2025-08-14 17:20:28 +09:00
parent 5a622b4137
commit e9d1e42359
10 changed files with 717 additions and 117 deletions

View File

@@ -16,18 +16,20 @@ class Tenant extends Model
use SoftDeletes, ModelTrait;
protected $fillable = [
'name',
'company_name',
'code',
'email',
'phone',
'address',
'business_num',
'corp_reg_no',
'ceo_name',
'homepage',
'fax',
'logo',
'admin_memo',
'options',
'tenant_st_code',
'plan_id',
'subscription_id',
'max_users',
'trial_ends_at',
'expires_at',
'last_paid_at',
'billing_tp_code',
];
@@ -51,7 +53,6 @@ class Tenant extends Model
];
protected $hidden = [
'admin_memo',
'deleted_at',
];