SharedProsperityBalanceEntity.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?php
  2. namespace app\entity\data\shared;
  3. use app\entity\data\DataEntity;
  4. class SharedProsperityBalanceEntity extends DataEntity
  5. {
  6. public $id = null; // 主键
  7. public $userId = null; // 用户id
  8. public $level = null; // 用户等级
  9. public $radio = null; // 分配比例
  10. public $total_profit = null; // 总佣金
  11. public $old = null; // 变更前佣金
  12. public $number = null; // 操作佣金
  13. public $after = null; // 变更后佣金
  14. public $createTime = null; // 创建时间
  15. public function getId()
  16. {
  17. return $this->id;
  18. }
  19. public function setId($id): SharedProsperityBalanceEntity
  20. {
  21. $this->id = $id;
  22. return $this;
  23. }
  24. public function getUserId()
  25. {
  26. return $this->userId;
  27. }
  28. public function setUserId($userId): SharedProsperityBalanceEntity
  29. {
  30. $this->userId = $userId;
  31. return $this;
  32. }
  33. public function getLevel()
  34. {
  35. return $this->level;
  36. }
  37. public function setLevel($level): SharedProsperityBalanceEntity
  38. {
  39. $this->level = $level;
  40. return $this;
  41. }
  42. public function getRadio()
  43. {
  44. return $this->radio;
  45. }
  46. public function setRadio($radio): SharedProsperityBalanceEntity
  47. {
  48. $this->radio = $radio;
  49. return $this;
  50. }
  51. public function getTotalProfit()
  52. {
  53. return $this->total_profit;
  54. }
  55. public function setTotalProfit($total_profit): SharedProsperityBalanceEntity
  56. {
  57. $this->total_profit = $total_profit;
  58. return $this;
  59. }
  60. public function getOld()
  61. {
  62. return $this->old;
  63. }
  64. public function setOld($old): SharedProsperityBalanceEntity
  65. {
  66. $this->old = $old;
  67. return $this;
  68. }
  69. public function getNumber()
  70. {
  71. return $this->number;
  72. }
  73. public function setNumber($number): SharedProsperityBalanceEntity
  74. {
  75. $this->number = $number;
  76. return $this;
  77. }
  78. public function getAfter()
  79. {
  80. return $this->after;
  81. }
  82. public function setAfter($after): SharedProsperityBalanceEntity
  83. {
  84. $this->after = $after;
  85. return $this;
  86. }
  87. public function getCreateTime()
  88. {
  89. return $this->createTime;
  90. }
  91. public function setCreateTime($createTime): SharedProsperityBalanceEntity
  92. {
  93. $this->createTime = $createTime;
  94. return $this;
  95. }
  96. }