DNewAgentDetail.Class.php 869 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. "shopId"
  33. ];
  34. $this->_readonly = ['id'];
  35. parent::__construct($serviceDB);
  36. }
  37. }