| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- <?php
- namespace app\entity\data\dividend;
- use app\entity\data\DataEntity;
- class DividendLogEntity extends DataEntity
- {
- public $id = null; // 主键
- public $type = null; // 分润类型:1合伙人分红;2联创分红;3股权分红;4佣金补贴
- public $startTime = null; // 分润周期开始时间
- public $endTime = null; // 分润周期结束时间
- public $performance = null; // 业绩
- public $abatement = null; // 扣减项(原因)
- public $allocated = null; // 实际分配业绩
- public $rule = null; // 分配规则
- public $expected = null;
- public $feeWaiverUids = null; // 免分配人员ID集合(可能由于业绩不达标)
- public $arrivalPoint = null; // 到账金额
- public $arrivalInfo = null; // 到账金额
- public $result = null; // 实际分配结果
- public $isTest = null; // 是否为测试数据
- public $remark = null; // 备注
- public $createTime = null; // 创建时间
- public $reissueId = null; // 补发ID
- /**
- * @return mixed
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * @param mixed $id
- * @return DividendLogEntity
- */
- public function setId($id): DividendLogEntity
- {
- $this->id = $id;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getType()
- {
- return $this->type;
- }
- /**
- * @param mixed $type
- * @return DividendLogEntity
- */
- public function setType($type): DividendLogEntity
- {
- $this->type = $type;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getStartTime()
- {
- return $this->startTime;
- }
- /**
- * @param mixed $startTime
- * @return DividendLogEntity
- */
- public function setStartTime($startTime): DividendLogEntity
- {
- $this->startTime = $startTime;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getEndTime()
- {
- return $this->endTime;
- }
- /**
- * @param mixed $endTime
- * @return DividendLogEntity
- */
- public function setEndTime($endTime): DividendLogEntity
- {
- $this->endTime = $endTime;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getPerformance()
- {
- return $this->performance;
- }
- /**
- * @param mixed $performance
- * @return DividendLogEntity
- */
- public function setPerformance($performance): DividendLogEntity
- {
- $this->performance = $performance;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getAbatement()
- {
- return $this->abatement;
- }
- /**
- * @param mixed $abatement
- * @return DividendLogEntity
- */
- public function setAbatement($abatement): DividendLogEntity
- {
- $this->abatement = $abatement;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getAllocated()
- {
- return $this->allocated;
- }
- /**
- * @param mixed $allocated
- * @return DividendLogEntity
- */
- public function setAllocated($allocated): DividendLogEntity
- {
- $this->allocated = $allocated;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getRule()
- {
- return $this->rule;
- }
- /**
- * @param mixed $rule
- * @return DividendLogEntity
- */
- public function setRule($rule): DividendLogEntity
- {
- $this->rule = $rule;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getExpected()
- {
- return $this->expected;
- }
- /**
- * @param mixed $expected
- * @return DividendLogEntity
- */
- public function setExpected($expected): DividendLogEntity
- {
- $this->expected = $expected;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getFeeWaiverUids()
- {
- if (is_string($this->feeWaiverUids)) {
- return json_decode($this->feeWaiverUids, true);
- }
- return $this->feeWaiverUids;
- }
- /**
- * @param mixed $feeWaiverUids
- * @return DividendLogEntity
- */
- public function setFeeWaiverUids($feeWaiverUids): DividendLogEntity
- {
- if (is_array($feeWaiverUids)) {
- $feeWaiverUids = json_encode($feeWaiverUids);
- }
- $this->feeWaiverUids = $feeWaiverUids;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getArrivalPoint()
- {
- return $this->arrivalPoint;
- }
- /**
- * @param mixed $arrivalPoint
- * @return DividendLogEntity
- */
- public function setArrivalPoint($arrivalPoint): DividendLogEntity
- {
- $this->arrivalPoint = $arrivalPoint;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getArrivalInfo()
- {
- if (is_string($this->arrivalInfo)) {
- return json_decode($this->arrivalInfo, true);
- }
- return $this->arrivalInfo;
- }
- /**
- * @param mixed $arrivalInfo
- * @return DividendLogEntity
- */
- public function setArrivalInfo($arrivalInfo): DividendLogEntity
- {
- if (is_array($arrivalInfo)) {
- $arrivalInfo = json_encode($arrivalInfo);
- }
- $this->arrivalInfo = $arrivalInfo;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getResult()
- {
- return $this->result;
- }
- /**
- * @param mixed $result
- * @return DividendLogEntity
- */
- public function setResult($result): DividendLogEntity
- {
- $this->result = $result;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getIsTest()
- {
- return $this->isTest;
- }
- /**
- * @param mixed $isTest
- * @return DividendLogEntity
- */
- public function setIsTest($isTest): DividendLogEntity
- {
- $this->isTest = $isTest;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getRemark()
- {
- return $this->remark;
- }
- /**
- * @param mixed $remark
- * @return DividendLogEntity
- */
- public function setRemark($remark): DividendLogEntity
- {
- $this->remark = $remark;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getCreateTime()
- {
- return $this->createTime;
- }
- /**
- * @param mixed $createTime
- * @return DividendLogEntity
- */
- public function setCreateTime($createTime): DividendLogEntity
- {
- $this->createTime = $createTime;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getReissueId()
- {
- return $this->reissueId;
- }
- /**
- * @param mixed $reissueId
- * @return DividendLogEntity
- */
- public function setReissueId($reissueId): DividendLogEntity
- {
- $this->reissueId = $reissueId;
- return $this;
- }
- }
|