DNewAgentDetail.Class.php 847 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * 新分销合伙人佣金明细表
  4. */
  5. namespace JinDouYun\Dao\CommissionPartner;
  6. use JinDouYun\Dao\BaseDao;
  7. class DNewAgentDetail extends BaseDao
  8. {
  9. public function __construct($serviceDB = 'default')
  10. {
  11. $this->_table = 'new_agent_detail';
  12. $this->_primary = 'id';
  13. $this->_fields = [
  14. "id",
  15. "customerId",
  16. "userCenterId",
  17. "agentId",
  18. "sourceShopId",
  19. "title",
  20. "purchaseMoney",
  21. "calcMoney",
  22. "commission",
  23. "per",
  24. "type",
  25. "purchaseId",
  26. "status",
  27. "isUpgrade",
  28. "mono",
  29. "time",
  30. "expand",
  31. "purchaseNo"
  32. ];
  33. $this->_readonly = ['id'];
  34. parent::__construct($serviceDB);
  35. }
  36. }