모델 수정

This commit is contained in:
2026-02-04 21:45:23 +09:00
parent 1311dc529a
commit ae5677a635

View File

@@ -50,36 +50,36 @@ class V2modifyinfoModel extends Model
];
// 검증 규칙
protected $validationRules = [
'vr_sq' => 'required|integer',
'bild_nm' => 'string|max_length[60]',
'rm_no' => 'string|max_length[30]',
'floor' => 'integer',
'floor2' => 'integer',
'ugrodFloor' => 'integer',
'address_code' => 'string|max_length[10]',
'address2' => 'string|max_length[300]',
'address2a' => 'string|max_length[300]',
'address2b' => 'string|max_length[300]',
'address3' => 'string|max_length[300]',
'address4' => 'string|max_length[1000]',
'trade_type' => 'string|max_length[2]',
'deal_amt' => 'integer',
'wrrnt_amt' => 'integer',
'lease_amt' => 'integer',
'isale_amt' => 'integer',
'prem_amt' => 'integer',
'sply_spc' => 'numeric',
'excls_spc' => 'numeric',
'tot_spc' => 'numeric',
'grnd_spc' => 'numeric',
'bldg_spc' => 'numeric',
'hscp_no' => 'string|max_length[30]',
'hscp_nm' => 'string|max_length[60]',
'ptp_no' => 'string|max_length[30]',
'ptp_nm' => 'string|max_length[60]',
'modify_yn' => 'in_list[Y,N]',
];
// protected $validationRules = [
// 'vr_sq' => 'required|integer',
// 'bild_nm' => 'string|max_length[60]',
// 'rm_no' => 'string|max_length[30]',
// 'floor' => 'integer',
// 'floor2' => 'integer',
// 'ugrodFloor' => 'integer',
// 'address_code' => 'string|max_length[10]',
// 'address2' => 'string|max_length[300]',
// 'address2a' => 'string|max_length[300]',
// 'address2b' => 'string|max_length[300]',
// 'address3' => 'string|max_length[300]',
// 'address4' => 'string|max_length[1000]',
// 'trade_type' => 'string|max_length[2]',
// 'deal_amt' => 'integer',
// 'wrrnt_amt' => 'integer',
// 'lease_amt' => 'integer',
// 'isale_amt' => 'integer',
// 'prem_amt' => 'integer',
// 'sply_spc' => 'numeric',
// 'excls_spc' => 'numeric',
// 'tot_spc' => 'numeric',
// 'grnd_spc' => 'numeric',
// 'bldg_spc' => 'numeric',
// 'hscp_no' => 'string|max_length[30]',
// 'hscp_nm' => 'string|max_length[60]',
// 'ptp_no' => 'string|max_length[30]',
// 'ptp_nm' => 'string|max_length[60]',
// 'modify_yn' => 'in_list[Y,N]',
// ];
protected $validationMessages = [];
protected $skipValidation = false;