SharedProsperityRecommendConfigEntity.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 $createTime = null; // 创建时间
  13. public $updateTime = null; // 更新时间
  14. /**
  15. * @return mixed
  16. */
  17. public function getId()
  18. {
  19. return $this->id;
  20. }
  21. /**
  22. * @param mixed $id
  23. * @return SharedProsperityRecommendConfigEntity
  24. */
  25. public function setId($id): SharedProsperityRecommendConfigEntity
  26. {
  27. $this->id = $id;
  28. return $this;
  29. }
  30. /**
  31. * @return mixed
  32. */
  33. public function getLevel()
  34. {
  35. return $this->level;
  36. }
  37. /**
  38. * @param mixed $level
  39. * @return SharedProsperityRecommendConfigEntity
  40. */
  41. public function setLevel($level): SharedProsperityRecommendConfigEntity
  42. {
  43. $this->level = $level;
  44. return $this;
  45. }
  46. /**
  47. * @return mixed
  48. */
  49. public function getName()
  50. {
  51. return $this->name;
  52. }
  53. /**
  54. * @param mixed $name
  55. * @return SharedProsperityRecommendConfigEntity
  56. */
  57. public function setName($name): SharedProsperityRecommendConfigEntity
  58. {
  59. $this->name = $name;
  60. return $this;
  61. }
  62. /**
  63. * @return mixed
  64. */
  65. public function getRewardRatio()
  66. {
  67. return $this->rewardRatio;
  68. }
  69. public function getProfitRatio()
  70. {
  71. return $this->profitRatio;
  72. }
  73. /**
  74. * @param mixed $rewardRatio
  75. * @return SharedProsperityRecommendConfigEntity
  76. */
  77. public function setRewardRatio($rewardRatio): SharedProsperityRecommendConfigEntity
  78. {
  79. $this->rewardRatio = $rewardRatio;
  80. return $this;
  81. }
  82. /**
  83. * @param mixed $profitRatio
  84. * @return SharedProsperityRecommendConfigEntity
  85. */
  86. public function setProfitRatio($profitRatio): SharedProsperityRecommendConfigEntity
  87. {
  88. $this->profitRatio = $profitRatio;
  89. return $this;
  90. }
  91. /**
  92. * @return mixed
  93. */
  94. public function getPv()
  95. {
  96. return $this->pv;
  97. }
  98. /**
  99. * @param mixed $pv
  100. * @return SharedProsperityRecommendConfigEntity
  101. */
  102. public function setPv($pv): SharedProsperityRecommendConfigEntity
  103. {
  104. $this->pv = $pv;
  105. return $this;
  106. }
  107. /**
  108. * @return mixed
  109. */
  110. public function getCreateTime()
  111. {
  112. return $this->createTime;
  113. }
  114. /**
  115. * @param mixed $createTime
  116. * @return SharedProsperityRecommendConfigEntity
  117. */
  118. public function setCreateTime($createTime): SharedProsperityRecommendConfigEntity
  119. {
  120. $this->createTime = $createTime;
  121. return $this;
  122. }
  123. /**
  124. * @return mixed
  125. */
  126. public function getUpdateTime()
  127. {
  128. return $this->updateTime;
  129. }
  130. /**
  131. * @param mixed $updateTime
  132. * @return SharedProsperityRecommendConfigEntity
  133. */
  134. public function setUpdateTime($updateTime): SharedProsperityRecommendConfigEntity
  135. {
  136. $this->updateTime = $updateTime;
  137. return $this;
  138. }
  139. }