123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- /**
- * 客户类型调价单
- * Created by PhpStorm.
- * User: XiaoMing
- * Date: 2020/4/8
- * Time: 17:35
- */
- namespace JinDouYun\Dao\Price;
- use JinDouYun\Dao\BaseDao;
- class DCustomerTypePriceAdjustment extends BaseDao
- {
- public function __construct($serviceDB = 'price')
- {
- $this->_table = 'customerTypePriceAdjustmentSheet';
- $this->_primary = 'id';
- $this->_fields = [
- "id", //int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id',
- "no", //char(20) NOT NULL COMMENT '调价单号',
- "goodsCode", //varchar(50) NOT NULL COMMENT '商品code',
- "goodsName", //varchar(100) NOT NULL COMMENT '商品名称',
- "goodsId", //varchar(50) NOT NULL COMMENT '商品id',
- "shopId", //int(10) NOT NULL COMMENT '店铺id',
- "createTime", //int(10) NOT NULL COMMENT '创建时间',
- "updateTime", //int(10) NOT NULL COMMENT '修改时间',
- "deleteStatus", //tinyint(3) NOT NULL DEFAULT '1' COMMENT '删除状态 4删除 5正常',
- "effectiveStatus", //tinyint(3) NOT NULL DEFAULT '1' COMMENT '生效状态 1.待审 2审核通过 3未通过 4审核中',
- "salePrice", //json NOT NULL COMMENT '销售价格',
- "createUserId", //int(10) NOT NULL COMMENT '创建人',
- "createUserName", //varchar(50) NOT NULL COMMENT '创建人姓名',
- "startTime", //int(10) NOT NULL COMMENT '开始时间',
- "endTime", //int(10) NOT NULL COMMENT '结束时间',
- "customerName", //varchar(50) NOT NULL COMMENT '客户类型名称',
- "customerType", //int(10) NOT NULL COMMENT '客户类型',
- "customerCode", //varchar(50) NOT NULL COMMENT '客户编码',
- "shopName", //varchar(50) DEFAULT NULL COMMENT '店铺名称',
- "effectiveUserName",//
- "effectiveUserId",//
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|