DLastEffectiveSalePriceAreaType.Class.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: phperstar
  5. * Date: 2019/4/19
  6. * Time: 10:21 AM
  7. */
  8. namespace JinDouYun\Dao\Price;
  9. use JinDouYun\Dao\BaseDao;
  10. class DLastEffectiveSalePriceAreaType extends BaseDao
  11. {
  12. public function __construct($serviceDB = 'price')
  13. {
  14. $this->_table = 'lastEffectiveSalePriceAreaType';
  15. $this->_primary = 'id';
  16. $this->_fields = [
  17. "id", //int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id',
  18. "goodsCode", //varchar(50) NOT NULL COMMENT '商品编码',
  19. "lastEffectiveSalePriceAreaType", //tinyint(3) NOT NULL COMMENT '最后一次生效价格区域类型',
  20. "shopId", //int(10) NOT NULL COMMENT '店铺id',
  21. "updateTime", //int(10) NOT NULL COMMENT '生效时间',
  22. "no", //char(20) NOT NULL COMMENT '调价单',
  23. "lastUserName", //varchar(255) NOT NULL COMMENT '最后一次调价人',
  24. "goodsId", //int(10) DEFAULT NULL COMMENT '商品id',
  25. ];
  26. $this->_readonly = ['id'];
  27. $this->_create_autofill = [
  28. ];
  29. $this->_update_autofill = [
  30. ];
  31. parent::__construct($serviceDB);
  32. }
  33. }