<?php

namespace App\Models;

use CodeIgniter\Model;

class DesignatedShopModel extends Model
{
    use \App\Models\Traits\Auditable;

    protected $table         = 'designated_shop';
    protected $primaryKey    = 'ds_idx';
    protected $returnType    = 'object';
    protected $useTimestamps = false;
    protected $allowedFields = [
        'ds_lg_idx',
        'ds_sa_idx',
        'ds_mb_idx',
        'ds_shop_no',
        'ds_name',
        'ds_biz_no',
        'ds_rep_name',
        'ds_biz_type',
        'ds_biz_kind',
        'ds_va_number',
        'ds_va_bank',
        'ds_va_account',
        'ds_zip',
        'ds_addr',
        'ds_addr_jibun',
        'ds_addr_detail',
        'ds_tel',
        'ds_rep_phone',
        'ds_email',
        'ds_gugun_code',
        'ds_dong_code',
        'ds_zone_code',
        'ds_branch_no',
        'ds_designated_at',
        'ds_state',
        'ds_state_changed_at',
        'ds_change_reason',
        'ds_regdate',
    ];
}

