DCustomerPriceAdjustment.Class.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace JinDouYun\Dao\Price;
  3. use JinDouYun\Dao\BaseDao;
  4. class DCustomerPriceAdjustment extends BaseDao
  5. {
  6. public function __construct($serviceDB = 'price')
  7. {
  8. $this->_table = 'customerPriceAdjustmentSheet';
  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. "goodsCode", //varchar(50) NOT NULL COMMENT '商品code',
  14. "goodsName", //varchar(100) NOT NULL COMMENT '商品名称',
  15. "goodsId", //varchar(50) NOT NULL COMMENT '商品id',
  16. "shopId", //int(10) NOT NULL COMMENT '店铺id',
  17. "createTime", //int(10) NOT NULL COMMENT '创建时间',
  18. "updateTime", //int(10) NOT NULL COMMENT '修改时间',
  19. "deleteStatus", //tinyint(3) NOT NULL DEFAULT '1' COMMENT '删除状态 4删除 5正常',
  20. "effectiveStatus", //tinyint(3) NOT NULL DEFAULT '1' COMMENT '生效状态 1.待审 2审核通过 3未通过 4审核中',
  21. "salePrice", //json NOT NULL COMMENT '销售价格',
  22. "createUserId", //int(10) NOT NULL COMMENT '创建人',
  23. "createUserName", //varchar(50) NOT NULL COMMENT '创建人姓名',
  24. "startTime", //int(10) NOT NULL COMMENT '开始时间',
  25. "endTime", //int(10) NOT NULL COMMENT '结束时间',
  26. "customerName", //varchar(50) NOT NULL COMMENT '客户名称',
  27. "customerId", //int(10) NOT NULL COMMENT '客户id',
  28. "customerCode", //varchar(50) NOT NULL COMMENT '客户编码',
  29. "shopName", //varchar(50) DEFAULT NULL COMMENT '店铺名称',
  30. "effectiveUserName",//
  31. "effectiveUserId",//
  32. ];
  33. $this->_readonly = ['id'];
  34. $this->_create_autofill = [
  35. ];
  36. $this->_update_autofill = [
  37. ];
  38. parent::__construct($serviceDB);
  39. }
  40. }