<?php
/**
 * Created by PhpStorm.
 * User: phperstar
 * Date: 2019/4/19
 * Time: 10:21 AM
 */

namespace JinDouYun\Dao\Price;

use JinDouYun\Dao\BaseDao;

class DLastEffectiveSalePriceAreaType extends BaseDao
{
    public function __construct($serviceDB = 'price')
    {
        $this->_table = 'lastEffectiveSalePriceAreaType';
        $this->_primary = 'id';
        $this->_fields = [
            "id", //int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id',
            "goodsCode", //varchar(50) NOT NULL COMMENT '商品编码',
            "lastEffectiveSalePriceAreaType", //tinyint(3) NOT NULL COMMENT '最后一次生效价格区域类型',
            "shopId", //int(10) NOT NULL COMMENT '店铺id',
            "updateTime", //int(10) NOT NULL COMMENT '生效时间',
            "no", //char(20) NOT NULL COMMENT '调价单',
            "lastUserName", //varchar(255) NOT NULL COMMENT '最后一次调价人',
            "goodsId", //int(10) DEFAULT NULL COMMENT '商品id',
        ];
        $this->_readonly = ['id'];
        $this->_create_autofill = [
        ];
        $this->_update_autofill = [
        ];

        parent::__construct($serviceDB);
    }
}