DNewAgentSetting.Class.php 804 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * 新分销合伙人表
  4. */
  5. namespace JinDouYun\Dao\CommissionPartner;
  6. use JinDouYun\Dao\BaseDao;
  7. class DNewAgentSetting extends BaseDao
  8. {
  9. public function __construct($serviceDB = 'default')
  10. {
  11. $this->_table = 'new_agent_setting';
  12. $this->_primary = 'id';
  13. $this->_fields = [
  14. "id",
  15. "enterpriseId",
  16. "levMoney",
  17. "levPer",
  18. "incomePer",
  19. "bankData",
  20. "is_open",
  21. "updateTime",
  22. "time",
  23. "oneToTwoNum",
  24. "twoToThreeNum",
  25. "oneOnePer",
  26. "oneTwoPer",
  27. "twoOnePer",
  28. "twoTwoPer",
  29. "threePer",
  30. ];
  31. $this->_readonly = ['id'];
  32. parent::__construct($serviceDB);
  33. }
  34. }