v2chghistoryModel.php 수정
This commit is contained in:
31
app/Models/Entities/V2articleinfoModel.php
Normal file
31
app/Models/Entities/V2articleinfoModel.php
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models\Entities;
|
||||||
|
|
||||||
|
use CodeIgniter\Model;
|
||||||
|
|
||||||
|
class V2ArticleInfoModel extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'v2_article_info';
|
||||||
|
protected $primaryKey = 'vr_sq';
|
||||||
|
protected $useAutoIncrement = false; // 메인 테이블의 vr_sq를 수동으로 입력받음
|
||||||
|
protected $returnType = 'array';
|
||||||
|
|
||||||
|
protected $allowedFields = [
|
||||||
|
'vr_sq', 'atcl_no', 'cpid', 'cp_atcl_id', 'rlet_type_cd', 'trade_type',
|
||||||
|
'address_code', 'address1', 'address2', 'address3', 'sply_spc', 'excls_spc',
|
||||||
|
'tot_spc', 'grnd_spc', 'bldg_spc', 'deal_amt', 'wrrnt_amt', 'lease_amt',
|
||||||
|
'isale_amt', 'prem_amt', 'sise', 'floor', 'rdate', 'seller_tel_no',
|
||||||
|
'seller_nm', 'realtor_nm', 'realtor_tel_no', 'hscp_no', 'hscp_nm',
|
||||||
|
'ptp_no', 'ptp_nm', 'bild_no', 'charger', 'req_price_yn', 'reg_charger',
|
||||||
|
'dept1_sq', 'dept2_sq', 'reg_dept2_sq', 'reg_dept1_sq', 'floor2',
|
||||||
|
'dong_ho_chk', 'hscplqry_lv', 'ownerNm', 'ownerTelNo', 'chg_trade_type',
|
||||||
|
'chg_address2', 'chg_address3', 'chg_seller_tel', 'chg_amt', 'reg_status',
|
||||||
|
'cupnNo', 'roomSiteAtclRgstCnt', 'roomSiteAtclExpsCnt', 'redvlp_area_nm',
|
||||||
|
'biz_stp_desc', 'cert_register', 'direct_trad_yn', 'confirm_doc_img_url',
|
||||||
|
'confirm_doc_owner_check_yn', 'owner_birth', 'vrfc_type_sub',
|
||||||
|
'cert_register_save_yn', 'confirm_doc_img_url_save_yn', 'address4',
|
||||||
|
'reference_file_url', 'reference_file_url_save_yn', 'reference_file_url_yn',
|
||||||
|
'registerBookUniqueNo', 'relationSellerAndOwner', 'ownerTypeCode', 'registerBookUniqueNumber'
|
||||||
|
];
|
||||||
|
}
|
||||||
22
app/Models/Entities/V2articleinfoetcModel.php
Normal file
22
app/Models/Entities/V2articleinfoetcModel.php
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models\Entities;
|
||||||
|
|
||||||
|
use CodeIgniter\Model;
|
||||||
|
|
||||||
|
class V2ArticleInfoEtcModel extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'v2_article_info_etc';
|
||||||
|
protected $primaryKey = 'vr_sq';
|
||||||
|
protected $useAutoIncrement = false; // 메인 테이블의 vr_sq를 수동으로 입력받음
|
||||||
|
protected $returnType = 'array';
|
||||||
|
|
||||||
|
protected $allowedFields = [
|
||||||
|
'vr_sq', 'atcl_no', 'corp_own', 'vir_addr_yn', 'bild_no', 'vrfcMthdTpcd',
|
||||||
|
'cert_uncnfrm_status', 'expsStartYmdt', 'vrfcAutoPassYn', 'address2a',
|
||||||
|
'address2b', 'registerBookUniqueNo', 'ownerTypeCode', 'orgRepCphNo',
|
||||||
|
'orgRepTelNo', 'orgRltrNm', 'orgRepNm', 'smsSendTime', 'document_cert_method',
|
||||||
|
'noRgbkVrfcReqYn', 'areaByBdbkVrfcReqYn', 'orgAtclNo', 'atclStatCd',
|
||||||
|
'repNm', 'cpName', 'document_not_received', 'final_failure'
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,19 +1,3 @@
|
|||||||
CREATE TABLE `v2_chg_history` (
|
|
||||||
`seq` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '순번',
|
|
||||||
`vr_sq` BIGINT(20) UNSIGNED NOT NULL COMMENT '검증요청순번',
|
|
||||||
`stat_cd` VARCHAR(6) NOT NULL COMMENT '상태코드' COLLATE 'utf8mb3_uca1400_ai_ci',
|
|
||||||
`chg_type` VARCHAR(10) NOT NULL COMMENT '변경유형' COLLATE 'utf8mb3_uca1400_ai_ci',
|
|
||||||
`memo` TEXT NULL DEFAULT NULL COMMENT '메모' COLLATE 'utf8mb3_uca1400_ai_ci',
|
|
||||||
`insert_id` VARCHAR(60) NOT NULL COMMENT '등록자ID' COLLATE 'utf8mb3_uca1400_ai_ci',
|
|
||||||
`insert_tm` DATETIME NOT NULL COMMENT '등록시간',
|
|
||||||
PRIMARY KEY (`seq`) USING BTREE,
|
|
||||||
INDEX `vr_sq` (`vr_sq`) USING BTREE
|
|
||||||
)
|
|
||||||
COMMENT='변경이력'
|
|
||||||
COLLATE='utf8mb3_uca1400_ai_ci'
|
|
||||||
ENGINE=InnoDB
|
|
||||||
AUTO_INCREMENT=81103559
|
|
||||||
;
|
|
||||||
<?php
|
<?php
|
||||||
namespace App\Models;
|
namespace App\Models;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user