DCustomerPriceEffective.Class.php 1011 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace JinDouYun\Dao\Price;
  3. use JinDouYun\Dao\BaseDao;
  4. class DCustomerPriceEffective extends BaseDao
  5. {
  6. public function __construct($serviceDB = 'price')
  7. {
  8. $this->_table = 'customerPriceEffective';
  9. $this->_primary = 'id';
  10. $this->_fields = [
  11. "id", //int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',
  12. "shopId", //int(11) NOT NULL COMMENT '店铺id',
  13. "customerId", //int(10) NOT NULL COMMENT '客户id',
  14. "salePrice", //json NOT NULL COMMENT '调整价格',
  15. "startTime", //int(10) DEFAULT NULL COMMENT '开始时间',
  16. "endTime", //int(10) DEFAULT NULL COMMENT '结束时间',
  17. "no", //char(20) NOT NULL COMMENT '客户调价单单号',
  18. "goodsId", //int(10) NOT NULL COMMENT '商品id',
  19. ];
  20. $this->_readonly = ['id'];
  21. $this->_create_autofill = [
  22. ];
  23. $this->_update_autofill = [
  24. ];
  25. parent::__construct($serviceDB);
  26. }
  27. }