DividendLogEntity.php 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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 $arrivalInfo = null; // 到账金额
  18. public $result = null; // 实际分配结果
  19. public $isTest = null; // 是否为测试数据
  20. public $remark = null; // 备注
  21. public $createTime = null; // 创建时间
  22. public $reissueId = null; // 补发ID
  23. /**
  24. * @return mixed
  25. */
  26. public function getId()
  27. {
  28. return $this->id;
  29. }
  30. /**
  31. * @param mixed $id
  32. * @return DividendLogEntity
  33. */
  34. public function setId($id): DividendLogEntity
  35. {
  36. $this->id = $id;
  37. return $this;
  38. }
  39. /**
  40. * @return mixed
  41. */
  42. public function getType()
  43. {
  44. return $this->type;
  45. }
  46. /**
  47. * @param mixed $type
  48. * @return DividendLogEntity
  49. */
  50. public function setType($type): DividendLogEntity
  51. {
  52. $this->type = $type;
  53. return $this;
  54. }
  55. /**
  56. * @return mixed
  57. */
  58. public function getStartTime()
  59. {
  60. return $this->startTime;
  61. }
  62. /**
  63. * @param mixed $startTime
  64. * @return DividendLogEntity
  65. */
  66. public function setStartTime($startTime): DividendLogEntity
  67. {
  68. $this->startTime = $startTime;
  69. return $this;
  70. }
  71. /**
  72. * @return mixed
  73. */
  74. public function getEndTime()
  75. {
  76. return $this->endTime;
  77. }
  78. /**
  79. * @param mixed $endTime
  80. * @return DividendLogEntity
  81. */
  82. public function setEndTime($endTime): DividendLogEntity
  83. {
  84. $this->endTime = $endTime;
  85. return $this;
  86. }
  87. /**
  88. * @return mixed
  89. */
  90. public function getPerformance()
  91. {
  92. return $this->performance;
  93. }
  94. /**
  95. * @param mixed $performance
  96. * @return DividendLogEntity
  97. */
  98. public function setPerformance($performance): DividendLogEntity
  99. {
  100. $this->performance = $performance;
  101. return $this;
  102. }
  103. /**
  104. * @return mixed
  105. */
  106. public function getAbatement()
  107. {
  108. return $this->abatement;
  109. }
  110. /**
  111. * @param mixed $abatement
  112. * @return DividendLogEntity
  113. */
  114. public function setAbatement($abatement): DividendLogEntity
  115. {
  116. $this->abatement = $abatement;
  117. return $this;
  118. }
  119. /**
  120. * @return mixed
  121. */
  122. public function getAllocated()
  123. {
  124. return $this->allocated;
  125. }
  126. /**
  127. * @param mixed $allocated
  128. * @return DividendLogEntity
  129. */
  130. public function setAllocated($allocated): DividendLogEntity
  131. {
  132. $this->allocated = $allocated;
  133. return $this;
  134. }
  135. /**
  136. * @return mixed
  137. */
  138. public function getRule()
  139. {
  140. return $this->rule;
  141. }
  142. /**
  143. * @param mixed $rule
  144. * @return DividendLogEntity
  145. */
  146. public function setRule($rule): DividendLogEntity
  147. {
  148. $this->rule = $rule;
  149. return $this;
  150. }
  151. /**
  152. * @return mixed
  153. */
  154. public function getExpected()
  155. {
  156. return $this->expected;
  157. }
  158. /**
  159. * @param mixed $expected
  160. * @return DividendLogEntity
  161. */
  162. public function setExpected($expected): DividendLogEntity
  163. {
  164. $this->expected = $expected;
  165. return $this;
  166. }
  167. /**
  168. * @return mixed
  169. */
  170. public function getFeeWaiverUids()
  171. {
  172. if (is_string($this->feeWaiverUids)) {
  173. return json_decode($this->feeWaiverUids, true);
  174. }
  175. return $this->feeWaiverUids;
  176. }
  177. /**
  178. * @param mixed $feeWaiverUids
  179. * @return DividendLogEntity
  180. */
  181. public function setFeeWaiverUids($feeWaiverUids): DividendLogEntity
  182. {
  183. if (is_array($feeWaiverUids)) {
  184. $feeWaiverUids = json_encode($feeWaiverUids);
  185. }
  186. $this->feeWaiverUids = $feeWaiverUids;
  187. return $this;
  188. }
  189. /**
  190. * @return mixed
  191. */
  192. public function getArrivalPoint()
  193. {
  194. return $this->arrivalPoint;
  195. }
  196. /**
  197. * @param mixed $arrivalPoint
  198. * @return DividendLogEntity
  199. */
  200. public function setArrivalPoint($arrivalPoint): DividendLogEntity
  201. {
  202. $this->arrivalPoint = $arrivalPoint;
  203. return $this;
  204. }
  205. /**
  206. * @return mixed
  207. */
  208. public function getArrivalInfo()
  209. {
  210. if (is_string($this->arrivalInfo)) {
  211. return json_decode($this->arrivalInfo, true);
  212. }
  213. return $this->arrivalInfo;
  214. }
  215. /**
  216. * @param mixed $arrivalInfo
  217. * @return DividendLogEntity
  218. */
  219. public function setArrivalInfo($arrivalInfo): DividendLogEntity
  220. {
  221. if (is_array($arrivalInfo)) {
  222. $arrivalInfo = json_encode($arrivalInfo);
  223. }
  224. $this->arrivalInfo = $arrivalInfo;
  225. return $this;
  226. }
  227. /**
  228. * @return mixed
  229. */
  230. public function getResult()
  231. {
  232. return $this->result;
  233. }
  234. /**
  235. * @param mixed $result
  236. * @return DividendLogEntity
  237. */
  238. public function setResult($result): DividendLogEntity
  239. {
  240. $this->result = $result;
  241. return $this;
  242. }
  243. /**
  244. * @return mixed
  245. */
  246. public function getIsTest()
  247. {
  248. return $this->isTest;
  249. }
  250. /**
  251. * @param mixed $isTest
  252. * @return DividendLogEntity
  253. */
  254. public function setIsTest($isTest): DividendLogEntity
  255. {
  256. $this->isTest = $isTest;
  257. return $this;
  258. }
  259. /**
  260. * @return mixed
  261. */
  262. public function getRemark()
  263. {
  264. return $this->remark;
  265. }
  266. /**
  267. * @param mixed $remark
  268. * @return DividendLogEntity
  269. */
  270. public function setRemark($remark): DividendLogEntity
  271. {
  272. $this->remark = $remark;
  273. return $this;
  274. }
  275. /**
  276. * @return mixed
  277. */
  278. public function getCreateTime()
  279. {
  280. return $this->createTime;
  281. }
  282. /**
  283. * @param mixed $createTime
  284. * @return DividendLogEntity
  285. */
  286. public function setCreateTime($createTime): DividendLogEntity
  287. {
  288. $this->createTime = $createTime;
  289. return $this;
  290. }
  291. /**
  292. * @return mixed
  293. */
  294. public function getReissueId()
  295. {
  296. return $this->reissueId;
  297. }
  298. /**
  299. * @param mixed $reissueId
  300. * @return DividendLogEntity
  301. */
  302. public function setReissueId($reissueId): DividendLogEntity
  303. {
  304. $this->reissueId = $reissueId;
  305. return $this;
  306. }
  307. }