123456789101112131415161718192021222324252627282930 |
- <?php
- namespace JinDouYun\Dao\Price;
- use JinDouYun\Dao\BaseDao;
- class DAreaPrice extends BaseDao
- {
- public function __construct($serviceDB = 'price')
- {
- $this->_table = 'nationalUnifiedPrice';
- $this->_primary = 'id';
- $this->_fields = [
- "id", //int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id',
- "no", //char(20) NOT NULL COMMENT '调价单编号',
- "goodsId", //int(10) NOT NULL COMMENT '物料编码',
- "shopId", //int(10) NOT NULL COMMENT '店铺id',
- "salePriceType", //tinyint(3) NOT NULL COMMENT '价格类型',
- "salePrice", //json NOT NULL COMMENT '价格数据',
- "updateTime", //int(10) NOT NULL COMMENT '生效时间',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|