| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?php
- namespace app\entity\data\douhuomall;
- use app\entity\data\DataEntity;
- class DouhuomallChangeLogEntity extends DataEntity
- {
- public $id = null; // 主键ID
- public $spuId = null; // spuID
- public $dataJson = null; // 历史数据信息
- public $effectProductJson = null; // 供应链sku_id
- public $createTime = null; // 记录时间
- /**
- * @return mixed
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * @param mixed $id
- * @return DouhuomallChangeLogEntity
- */
- public function setId($id): DouhuomallChangeLogEntity
- {
- $this->id = $id;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSpuId()
- {
- return $this->spuId;
- }
- /**
- * @param mixed $spuId
- * @return DouhuomallChangeLogEntity
- */
- public function setSpuId($spuId): DouhuomallChangeLogEntity
- {
- $this->spuId = $spuId;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getDataJson()
- {
- return $this->dataJson;
- }
- /**
- * @param mixed $dataJson
- * @return DouhuomallChangeLogEntity
- */
- public function setDataJson($dataJson): DouhuomallChangeLogEntity
- {
- if (is_array($dataJson)) {
- $dataJson = json_encode($dataJson, JSON_UNESCAPED_UNICODE);
- }
- $this->dataJson = $dataJson;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getEffectProductJson()
- {
- return $this->effectProductJson;
- }
- /**
- * @param mixed $effectProductJson
- * @return DouhuomallChangeLogEntity
- */
- public function setEffectProductJson($effectProductJson): DouhuomallChangeLogEntity
- {
- if (is_array($effectProductJson)) {
- $effectProductJson = json_encode($effectProductJson, JSON_UNESCAPED_UNICODE);
- }
- $this->effectProductJson = $effectProductJson;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getCreateTime()
- {
- return $this->createTime;
- }
- /**
- * @param mixed $createTime
- * @return DouhuomallChangeLogEntity
- */
- public function setCreateTime($createTime): DouhuomallChangeLogEntity
- {
- $this->createTime = $createTime;
- return $this;
- }
- }
|