<?php

namespace App\Models;

use CodeIgniter\Model;

class ShopOrderModel extends Model
{
    protected $table         = 'shop_order';
    protected $primaryKey    = 'so_idx';
    protected $returnType    = 'object';
    protected $useTimestamps = false;
    protected $allowedFields = [
        'so_lg_idx', 'so_ds_idx', 'so_ds_name', 'so_order_date', 'so_delivery_date',
        'so_payment_type', 'so_paid', 'so_received', 'so_total_qty', 'so_total_amount',
        'so_status', 'so_orderer_idx', 'so_regdate',
    ];
}
