DCommissionGradeCondition.Class.php 1015 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * 分销等级升级条件Dao
  4. * Created by PhpStorm.
  5. * User: haoren
  6. * Date: 2020/07/22
  7. * Time: 15:00
  8. */
  9. namespace JinDouYun\Dao\Commission;
  10. use JinDouYun\Dao\BaseDao;
  11. class DCommissionGradeCondition extends BaseDao
  12. {
  13. public function __construct($serviceDB = 'default')
  14. {
  15. $this->_table = 'commission_grade_condition';
  16. $this->_primary = 'id';
  17. $this->_fields = [
  18. "id", // int(10) NOT NULL AUTO_INCREMENT COMMENT '分销商等级升级条件表',
  19. "type",
  20. "key", // varchar(255) DEFAULT NULL COMMENT '别名key',
  21. "title", // varchar(255) DEFAULT NULL COMMENT '条件标题',
  22. "desc", // varchar(255) DEFAULT NULL COMMENT '条件描述',
  23. ];
  24. $this->_readonly = ['id'];
  25. $this->_create_autofill = [
  26. // 'createTime' => time()
  27. ];
  28. $this->_update_autofill = [
  29. // 'updateTime' => time()
  30. ];
  31. parent::__construct($serviceDB);
  32. }
  33. }