DividendLogEntity.php 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <?php
  2. namespace app\entity\data\dividend;
  3. use app\entity\data\DataEntity;
  4. class DividendLogEntity extends DataEntity
  5. {
  6. public $id = null; // 主键
  7. public $type = null; // 分润类型:1合伙人分红;2联创分红;3股权分红;4佣金补贴
  8. public $startTime = null; // 分润周期开始时间
  9. public $endTime = null; // 分润周期结束时间
  10. public $performance = null; // 业绩
  11. public $abatement = null; // 扣减项(原因)
  12. public $allocated = null; // 实际分配业绩
  13. public $rule = null; // 分配规则
  14. public $expected = null;
  15. public $feeWaiverUids = null; // 免分配人员ID集合(可能由于业绩不达标)
  16. public $arrivalPoint = null; // 到账金额
  17. public $result = null; // 实际分配结果
  18. public $remark = null; // 备注
  19. public $createTime = null; // 创建时间
  20. /**
  21. * @return mixed
  22. */
  23. public function getId()
  24. {
  25. return $this->id;
  26. }
  27. /**
  28. * @param mixed $id
  29. * @return DividendLogEntity
  30. */
  31. public function setId($id): DividendLogEntity
  32. {
  33. $this->id = $id;
  34. return $this;
  35. }
  36. /**
  37. * @return mixed
  38. */
  39. public function getType()
  40. {
  41. return $this->type;
  42. }
  43. /**
  44. * @param mixed $type
  45. * @return DividendLogEntity
  46. */
  47. public function setType($type): DividendLogEntity
  48. {
  49. $this->type = $type;
  50. return $this;
  51. }
  52. /**
  53. * @return mixed
  54. */
  55. public function getStartTime()
  56. {
  57. return $this->startTime;
  58. }
  59. /**
  60. * @param mixed $startTime
  61. * @return DividendLogEntity
  62. */
  63. public function setStartTime($startTime): DividendLogEntity
  64. {
  65. $this->startTime = $startTime;
  66. return $this;
  67. }
  68. /**
  69. * @return mixed
  70. */
  71. public function getEndTime()
  72. {
  73. return $this->endTime;
  74. }
  75. /**
  76. * @param mixed $endTime
  77. * @return DividendLogEntity
  78. */
  79. public function setEndTime($endTime): DividendLogEntity
  80. {
  81. $this->endTime = $endTime;
  82. return $this;
  83. }
  84. /**
  85. * @return mixed
  86. */
  87. public function getPerformance()
  88. {
  89. return $this->performance;
  90. }
  91. /**
  92. * @param mixed $performance
  93. * @return DividendLogEntity
  94. */
  95. public function setPerformance($performance): DividendLogEntity
  96. {
  97. $this->performance = $performance;
  98. return $this;
  99. }
  100. /**
  101. * @return mixed
  102. */
  103. public function getAbatement()
  104. {
  105. return $this->abatement;
  106. }
  107. /**
  108. * @param mixed $abatement
  109. * @return DividendLogEntity
  110. */
  111. public function setAbatement($abatement): DividendLogEntity
  112. {
  113. $this->abatement = $abatement;
  114. return $this;
  115. }
  116. /**
  117. * @return mixed
  118. */
  119. public function getAllocated()
  120. {
  121. return $this->allocated;
  122. }
  123. /**
  124. * @param mixed $allocated
  125. * @return DividendLogEntity
  126. */
  127. public function setAllocated($allocated): DividendLogEntity
  128. {
  129. $this->allocated = $allocated;
  130. return $this;
  131. }
  132. /**
  133. * @return mixed
  134. */
  135. public function getRule()
  136. {
  137. return $this->rule;
  138. }
  139. /**
  140. * @param mixed $rule
  141. * @return DividendLogEntity
  142. */
  143. public function setRule($rule): DividendLogEntity
  144. {
  145. $this->rule = $rule;
  146. return $this;
  147. }
  148. /**
  149. * @return mixed
  150. */
  151. public function getExpected()
  152. {
  153. return $this->expected;
  154. }
  155. /**
  156. * @param mixed $expected
  157. * @return DividendLogEntity
  158. */
  159. public function setExpected($expected): DividendLogEntity
  160. {
  161. $this->expected = $expected;
  162. return $this;
  163. }
  164. /**
  165. * @return mixed
  166. */
  167. public function getFeeWaiverUids()
  168. {
  169. if (is_string($this->feeWaiverUids)) {
  170. return json_decode($this->feeWaiverUids, true);
  171. }
  172. return $this->feeWaiverUids;
  173. }
  174. /**
  175. * @param mixed $feeWaiverUids
  176. * @return DividendLogEntity
  177. */
  178. public function setFeeWaiverUids($feeWaiverUids): DividendLogEntity
  179. {
  180. if (is_array($feeWaiverUids)) {
  181. $feeWaiverUids = json_encode($feeWaiverUids);
  182. }
  183. $this->feeWaiverUids = $feeWaiverUids;
  184. return $this;
  185. }
  186. /**
  187. * @return mixed
  188. */
  189. public function getArrivalPoint()
  190. {
  191. return $this->arrivalPoint;
  192. }
  193. /**
  194. * @param mixed $arrivalPoint
  195. * @return DividendLogEntity
  196. */
  197. public function setArrivalPoint($arrivalPoint): DividendLogEntity
  198. {
  199. $this->arrivalPoint = $arrivalPoint;
  200. return $this;
  201. }
  202. /**
  203. * @return mixed
  204. */
  205. public function getResult()
  206. {
  207. return $this->result;
  208. }
  209. /**
  210. * @param mixed $result
  211. * @return DividendLogEntity
  212. */
  213. public function setResult($result): DividendLogEntity
  214. {
  215. $this->result = $result;
  216. return $this;
  217. }
  218. /**
  219. * @return mixed
  220. */
  221. public function getRemark()
  222. {
  223. return $this->remark;
  224. }
  225. /**
  226. * @param mixed $remark
  227. * @return DividendLogEntity
  228. */
  229. public function setRemark($remark): DividendLogEntity
  230. {
  231. $this->remark = $remark;
  232. return $this;
  233. }
  234. /**
  235. * @return mixed
  236. */
  237. public function getCreateTime()
  238. {
  239. return $this->createTime;
  240. }
  241. /**
  242. * @param mixed $createTime
  243. * @return DividendLogEntity
  244. */
  245. public function setCreateTime($createTime): DividendLogEntity
  246. {
  247. $this->createTime = $createTime;
  248. return $this;
  249. }
  250. }