SharedProsperityRecommendConfigEntity.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?php
  2. namespace app\entity\data\shared;
  3. use app\entity\data\DataEntity;
  4. class SharedProsperityRecommendConfigEntity extends DataEntity
  5. {
  6. public $id = null; // 主键
  7. public $level = null; // 等级
  8. public $name = null; // 描述
  9. public $rewardRatio = null; // 推荐奖励占比
  10. public $profitRatio = null; // 分红奖励占比
  11. public $pv = null; // 业绩
  12. public $consume = null; // 业绩
  13. public $createTime = null; // 创建时间
  14. public $updateTime = null; // 更新时间
  15. /**
  16. * @return mixed
  17. */
  18. public function getId()
  19. {
  20. return $this->id;
  21. }
  22. /**
  23. * @param mixed $id
  24. * @return SharedProsperityRecommendConfigEntity
  25. */
  26. public function setId($id): SharedProsperityRecommendConfigEntity
  27. {
  28. $this->id = $id;
  29. return $this;
  30. }
  31. /**
  32. * @return mixed
  33. */
  34. public function getLevel()
  35. {
  36. return $this->level;
  37. }
  38. /**
  39. * @param mixed $level
  40. * @return SharedProsperityRecommendConfigEntity
  41. */
  42. public function setLevel($level): SharedProsperityRecommendConfigEntity
  43. {
  44. $this->level = $level;
  45. return $this;
  46. }
  47. /**
  48. * @return mixed
  49. */
  50. public function getName()
  51. {
  52. return $this->name;
  53. }
  54. /**
  55. * @param mixed $name
  56. * @return SharedProsperityRecommendConfigEntity
  57. */
  58. public function setName($name): SharedProsperityRecommendConfigEntity
  59. {
  60. $this->name = $name;
  61. return $this;
  62. }
  63. /**
  64. * @return mixed
  65. */
  66. public function getRewardRatio()
  67. {
  68. return $this->rewardRatio;
  69. }
  70. public function getProfitRatio()
  71. {
  72. return $this->profitRatio;
  73. }
  74. /**
  75. * @param mixed $rewardRatio
  76. * @return SharedProsperityRecommendConfigEntity
  77. */
  78. public function setRewardRatio($rewardRatio): SharedProsperityRecommendConfigEntity
  79. {
  80. $this->rewardRatio = $rewardRatio;
  81. return $this;
  82. }
  83. /**
  84. * @param mixed $profitRatio
  85. * @return SharedProsperityRecommendConfigEntity
  86. */
  87. public function setProfitRatio($profitRatio): SharedProsperityRecommendConfigEntity
  88. {
  89. $this->profitRatio = $profitRatio;
  90. return $this;
  91. }
  92. /**
  93. * @return mixed
  94. */
  95. public function getPv()
  96. {
  97. return $this->pv;
  98. }
  99. /**
  100. * @param mixed $pv
  101. * @return SharedProsperityRecommendConfigEntity
  102. */
  103. public function setPv($pv): SharedProsperityRecommendConfigEntity
  104. {
  105. $this->pv = $pv;
  106. return $this;
  107. }
  108. /**
  109. * @return mixed
  110. */
  111. public function getConsume()
  112. {
  113. return $this->consume;
  114. }
  115. /**
  116. * @param mixed $consume
  117. * @return SharedProsperityRecommendConfigEntity
  118. */
  119. public function setConsume($consume): SharedProsperityRecommendConfigEntity
  120. {
  121. $this->consume = $consume;
  122. return $this;
  123. }
  124. /**
  125. * @return mixed
  126. */
  127. public function getCreateTime()
  128. {
  129. return $this->createTime;
  130. }
  131. /**
  132. * @param mixed $createTime
  133. * @return SharedProsperityRecommendConfigEntity
  134. */
  135. public function setCreateTime($createTime): SharedProsperityRecommendConfigEntity
  136. {
  137. $this->createTime = $createTime;
  138. return $this;
  139. }
  140. /**
  141. * @return mixed
  142. */
  143. public function getUpdateTime()
  144. {
  145. return $this->updateTime;
  146. }
  147. /**
  148. * @param mixed $updateTime
  149. * @return SharedProsperityRecommendConfigEntity
  150. */
  151. public function setUpdateTime($updateTime): SharedProsperityRecommendConfigEntity
  152. {
  153. $this->updateTime = $updateTime;
  154. return $this;
  155. }
  156. }