123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- * 最后生效客户类型价格
- * Created by PhpStorm.
- * User: XiaoMing
- * Date: 2020/4/8
- * Time: 18:57
- */
- namespace JinDouYun\Dao\Price;
- use JinDouYun\Dao\BaseDao;
- class DCustomerTypePriceEffective extends BaseDao
- {
- public function __construct($serviceDB = 'price')
- {
- $this->_table = 'customerTypePriceEffective';
- $this->_primary = 'id';
- $this->_fields = [
- "id", //int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',
- "shopId", //int(11) NOT NULL COMMENT '店铺id',
- "customerType", //int(10) NOT NULL COMMENT '客户类型',
- "salePrice", //json NOT NULL COMMENT '调整价格',
- "startTime", //int(10) DEFAULT NULL COMMENT '开始时间',
- "endTime", //int(10) DEFAULT NULL COMMENT '结束时间',
- "no", //char(20) NOT NULL COMMENT '客户调价单单号',
- "goodsId", //int(10) NOT NULL COMMENT '商品id',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|