ApiResponse 헬퍼 확장 및 Tenant 요청 검증 개선
This commit is contained in:
@@ -21,6 +21,18 @@ public function rules(): array
|
||||
'address' => 'nullable|string|max:255',
|
||||
'business_num' => 'nullable|string|max:20',
|
||||
'ceo_name' => 'nullable|string|max:100',
|
||||
// 확장 필드 (JSON)
|
||||
'options' => 'nullable|array',
|
||||
'options.business_type' => 'nullable|string|max:100',
|
||||
'options.business_category' => 'nullable|string|max:100',
|
||||
'options.zip_code' => 'nullable|string|max:10',
|
||||
'options.address_detail' => 'nullable|string|max:255',
|
||||
'options.tax_invoice_email' => 'nullable|email|max:100',
|
||||
'options.manager_name' => 'nullable|string|max:100',
|
||||
'options.payment_bank' => 'nullable|string|max:100',
|
||||
'options.payment_account' => 'nullable|string|max:50',
|
||||
'options.payment_account_holder' => 'nullable|string|max:100',
|
||||
'options.payment_day' => 'nullable|string|max:10',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user