SharedProsperityBalanceLogEntity.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <?php
  2. namespace app\entity\data\shared;
  3. use app\entity\data\DataEntity;
  4. class SharedProsperityBalanceLogEntity extends DataEntity
  5. {
  6. public $id = null; // 主键
  7. public $userId = null; // 用户id
  8. public $pm = null; // 1增加 0减少
  9. public $type = null; // 类型 1合伙人分红 2共富奖
  10. public $level = null; // 用户等级
  11. public $radio = null; // 分配比例
  12. public $total_profit = null; // 总佣金
  13. public $old = null; // 变更前佣金
  14. public $number = null; // 操作佣金
  15. public $after = null; // 变更后佣金
  16. public $status = null; // 状态 -1失效 0待生效 1已生效
  17. public $createTime = null; // 创建时间
  18. public function getId()
  19. {
  20. return $this->id;
  21. }
  22. public function setId($id): SharedProsperityBalanceLogEntity
  23. {
  24. $this->id = $id;
  25. return $this;
  26. }
  27. public function getPm()
  28. {
  29. return $this->pm;
  30. }
  31. public function setPm($pm): SharedProsperityBalanceLogEntity
  32. {
  33. $this->pm = $pm;
  34. return $this;
  35. }
  36. public function getType()
  37. {
  38. return $this->type;
  39. }
  40. public function setType($type): SharedProsperityBalanceLogEntity
  41. {
  42. $this->type = $type;
  43. return $this;
  44. }
  45. public function getUserId()
  46. {
  47. return $this->userId;
  48. }
  49. public function setUserId($userId): SharedProsperityBalanceLogEntity
  50. {
  51. $this->userId = $userId;
  52. return $this;
  53. }
  54. public function getLevel()
  55. {
  56. return $this->level;
  57. }
  58. public function setLevel($level): SharedProsperityBalanceLogEntity
  59. {
  60. $this->level = $level;
  61. return $this;
  62. }
  63. public function getRadio()
  64. {
  65. return $this->radio;
  66. }
  67. public function setRadio($radio): SharedProsperityBalanceLogEntity
  68. {
  69. $this->radio = $radio;
  70. return $this;
  71. }
  72. public function getTotalProfit()
  73. {
  74. return $this->total_profit;
  75. }
  76. public function setTotalProfit($total_profit): SharedProsperityBalanceLogEntity
  77. {
  78. $this->total_profit = $total_profit;
  79. return $this;
  80. }
  81. public function getOld()
  82. {
  83. return $this->old;
  84. }
  85. public function setOld($old): SharedProsperityBalanceLogEntity
  86. {
  87. $this->old = $old;
  88. return $this;
  89. }
  90. public function getNumber()
  91. {
  92. return $this->number;
  93. }
  94. public function setNumber($number): SharedProsperityBalanceLogEntity
  95. {
  96. $this->number = $number;
  97. return $this;
  98. }
  99. public function getAfter()
  100. {
  101. return $this->after;
  102. }
  103. public function setAfter($after): SharedProsperityBalanceLogEntity
  104. {
  105. $this->after = $after;
  106. return $this;
  107. }
  108. public function getStatus()
  109. {
  110. return $this->status;
  111. }
  112. public function setStatus($status): SharedProsperityBalanceLogEntity
  113. {
  114. $this->status = $status;
  115. return $this;
  116. }
  117. public function getCreateTime()
  118. {
  119. return $this->createTime;
  120. }
  121. public function setCreateTime($createTime): SharedProsperityBalanceLogEntity
  122. {
  123. $this->createTime = $createTime;
  124. return $this;
  125. }
  126. }