SharedProsperityRecommendConfigEntity.php 2.9 KB

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