<?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'
    ];
}