DAreaPrice.Class.php 931 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace JinDouYun\Dao\Price;
  3. use JinDouYun\Dao\BaseDao;
  4. class DAreaPrice extends BaseDao
  5. {
  6. public function __construct($serviceDB = 'price')
  7. {
  8. $this->_table = 'nationalUnifiedPrice';
  9. $this->_primary = 'id';
  10. $this->_fields = [
  11. "id", //int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id',
  12. "no", //char(20) NOT NULL COMMENT '调价单编号',
  13. "goodsId", //int(10) NOT NULL COMMENT '物料编码',
  14. "shopId", //int(10) NOT NULL COMMENT '店铺id',
  15. "salePriceType", //tinyint(3) NOT NULL COMMENT '价格类型',
  16. "salePrice", //json NOT NULL COMMENT '价格数据',
  17. "updateTime", //int(10) NOT NULL COMMENT '生效时间',
  18. ];
  19. $this->_readonly = ['id'];
  20. $this->_create_autofill = [
  21. ];
  22. $this->_update_autofill = [
  23. ];
  24. parent::__construct($serviceDB);
  25. }
  26. }