SharedProsperityGroupUserEntity.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?php
  2. namespace app\entity\data\shared;
  3. use app\entity\data\DataEntity;
  4. class SharedProsperityGroupUserEntity extends DataEntity
  5. {
  6. public $id = null; // 记录ID
  7. public $groupId = null; // 等级 1万人团 2千人团 3百人团
  8. public $userId = null; // 用户id
  9. public $status = null; // 状态 0失效 1有效
  10. public $createTime = null; // 创建时间
  11. public $updateTime = null; // 更新时间
  12. /**
  13. * @return mixed
  14. */
  15. public function getId()
  16. {
  17. return $this->id;
  18. }
  19. /**
  20. * @param mixed $id
  21. * @return SharedProsperityGroupUserEntity
  22. */
  23. public function setId($id): SharedProsperityGroupUserEntity
  24. {
  25. $this->id = $id;
  26. return $this;
  27. }
  28. /**
  29. * @return mixed
  30. */
  31. public function getGroupId()
  32. {
  33. return $this->groupId;
  34. }
  35. /**
  36. * @param mixed $groupId
  37. * @return SharedProsperityGroupUserEntity
  38. */
  39. public function setGroupId($groupId): SharedProsperityGroupUserEntity
  40. {
  41. $this->groupId = $groupId;
  42. return $this;
  43. }
  44. /**
  45. * @return mixed
  46. */
  47. public function getUserId()
  48. {
  49. return $this->userId;
  50. }
  51. /**
  52. * @param mixed $userId
  53. * @return SharedProsperityGroupUserEntity
  54. */
  55. public function setUserId($userId): SharedProsperityGroupUserEntity
  56. {
  57. $this->userId = $userId;
  58. return $this;
  59. }
  60. /**
  61. * @return mixed
  62. */
  63. public function getStatus()
  64. {
  65. return $this->status;
  66. }
  67. /**
  68. * @param mixed $status
  69. * @return SharedProsperityGroupUserEntity
  70. */
  71. public function setStatus($status): SharedProsperityGroupUserEntity
  72. {
  73. $this->status = $status;
  74. return $this;
  75. }
  76. /**
  77. * @return mixed
  78. */
  79. public function getCreateTime()
  80. {
  81. return $this->createTime;
  82. }
  83. /**
  84. * @param mixed $createTime
  85. * @return SharedProsperityGroupUserEntity
  86. */
  87. public function setCreateTime($createTime): SharedProsperityGroupUserEntity
  88. {
  89. $this->createTime = $createTime;
  90. return $this;
  91. }
  92. /**
  93. * @return mixed
  94. */
  95. public function getUpdateTime()
  96. {
  97. return $this->updateTime;
  98. }
  99. /**
  100. * @param mixed $updateTime
  101. * @return SharedProsperityGroupUserEntity
  102. */
  103. public function setUpdateTime($updateTime): SharedProsperityGroupUserEntity
  104. {
  105. $this->updateTime = $updateTime;
  106. return $this;
  107. }
  108. }