SharedProsperityRecommendConfigEntity.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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 $shareRatio = null; // 分享奖励占比
  11. public $profitRatio = null; // 分红奖励占比
  12. public $pv = null; // 业绩
  13. public $consume = null; // 业绩
  14. public $createTime = null; // 创建时间
  15. public $updateTime = null; // 更新时间
  16. /**
  17. * @return mixed
  18. */
  19. public function getId()
  20. {
  21. return $this->id;
  22. }
  23. /**
  24. * @param mixed $id
  25. * @return SharedProsperityRecommendConfigEntity
  26. */
  27. public function setId($id): SharedProsperityRecommendConfigEntity
  28. {
  29. $this->id = $id;
  30. return $this;
  31. }
  32. /**
  33. * @return mixed
  34. */
  35. public function getLevel()
  36. {
  37. return $this->level;
  38. }
  39. /**
  40. * @param mixed $level
  41. * @return SharedProsperityRecommendConfigEntity
  42. */
  43. public function setLevel($level): SharedProsperityRecommendConfigEntity
  44. {
  45. $this->level = $level;
  46. return $this;
  47. }
  48. /**
  49. * @return mixed
  50. */
  51. public function getName()
  52. {
  53. return $this->name;
  54. }
  55. /**
  56. * @param mixed $name
  57. * @return SharedProsperityRecommendConfigEntity
  58. */
  59. public function setName($name): SharedProsperityRecommendConfigEntity
  60. {
  61. $this->name = $name;
  62. return $this;
  63. }
  64. /**
  65. * @return mixed
  66. */
  67. public function getRewardRatio()
  68. {
  69. return $this->rewardRatio;
  70. }
  71. public function getProfitRatio()
  72. {
  73. return $this->profitRatio;
  74. }
  75. /**
  76. * @param mixed $rewardRatio
  77. * @return SharedProsperityRecommendConfigEntity
  78. */
  79. public function setRewardRatio($rewardRatio): SharedProsperityRecommendConfigEntity
  80. {
  81. $this->rewardRatio = $rewardRatio;
  82. return $this;
  83. }
  84. /**
  85. * @param mixed $profitRatio
  86. * @return SharedProsperityRecommendConfigEntity
  87. */
  88. public function setProfitRatio($profitRatio): SharedProsperityRecommendConfigEntity
  89. {
  90. $this->profitRatio = $profitRatio;
  91. return $this;
  92. }
  93. /**
  94. * @return mixed
  95. */
  96. public function getPv()
  97. {
  98. return $this->pv;
  99. }
  100. /**
  101. * @param mixed $pv
  102. * @return SharedProsperityRecommendConfigEntity
  103. */
  104. public function setPv($pv): SharedProsperityRecommendConfigEntity
  105. {
  106. $this->pv = $pv;
  107. return $this;
  108. }
  109. /**
  110. * @return mixed
  111. */
  112. public function getConsume()
  113. {
  114. return $this->consume;
  115. }
  116. /**
  117. * @param mixed $consume
  118. * @return SharedProsperityRecommendConfigEntity
  119. */
  120. public function setConsume($consume): SharedProsperityRecommendConfigEntity
  121. {
  122. $this->consume = $consume;
  123. return $this;
  124. }
  125. /**
  126. * @return mixed
  127. */
  128. public function getCreateTime()
  129. {
  130. return $this->createTime;
  131. }
  132. /**
  133. * @param mixed $createTime
  134. * @return SharedProsperityRecommendConfigEntity
  135. */
  136. public function setCreateTime($createTime): SharedProsperityRecommendConfigEntity
  137. {
  138. $this->createTime = $createTime;
  139. return $this;
  140. }
  141. /**
  142. * @return mixed
  143. */
  144. public function getUpdateTime()
  145. {
  146. return $this->updateTime;
  147. }
  148. /**
  149. * @param mixed $updateTime
  150. * @return SharedProsperityRecommendConfigEntity
  151. */
  152. public function setUpdateTime($updateTime): SharedProsperityRecommendConfigEntity
  153. {
  154. $this->updateTime = $updateTime;
  155. return $this;
  156. }
  157. public function getShareRatio()
  158. {
  159. return $this->shareRatio;
  160. }
  161. /**
  162. * @param mixed $updateTime
  163. * @return SharedProsperityRecommendConfigEntity
  164. */
  165. public function setShareRatio($shareRatio): SharedProsperityRecommendConfigEntity
  166. {
  167. $this->shareRatio = $shareRatio;
  168. return $this;
  169. }
  170. }