| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532 |
- <?php
- namespace app\entity\data\store;
- use app\entity\data\DataEntity;
- class StoreGroupOrderEntity extends DataEntity
- {
- public $groupOrderId = 0; // 订单ID
- public $groupOrderSn = ''; // 订单号
- public $uid = 0; // 用户ID
- public $totalPostage = 0.00; // 邮费
- public $totalPrice = 0.00; // 订单总额
- public $totalNum = 0; // 商品数
- public $couponPrice = 0.00; // 优惠金额
- public $realName = ''; // 联系人
- public $userPhone = ''; // 联系电话
- public $userAddress = ''; // 收货地址
- public $payPrice = 0.00; // 支付金额
- public $payPostage = 0.00; // 支付邮费
- public $cost = 0.00; // 成本价
- public $giveCouponIds = ''; // 赠送优惠券
- public $paid = 0; // 是否支付
- public $payTime = null; // 支付时间
- public $payType = 0; // 支付方式
- public $createTime = null; // 创建时间
- public $isRemind = 0; // 是否提醒
- public $isDel = 0; // 是否删除
- public $rand = ''; // 订单号随机数
- public $split = null; // 分账状态
- public $serialNumber = ''; // 首信易交易流水号
- public $testOrder = 0; // 是否为测试订单
- public $hfPayId = ''; // 汇付订单id
- public $payWx = null; // 微信支付渠道后台设置
- public $fzonePaytype = ''; // 组合支付
- /**
- * @return int
- */
- public function getGroupOrderId(): int
- {
- return $this->groupOrderId;
- }
- /**
- * @param int $groupOrderId
- * @return StoreGroupOrderEntity
- */
- public function setGroupOrderId(int $groupOrderId): StoreGroupOrderEntity
- {
- $this->groupOrderId = $groupOrderId;
- return $this;
- }
- /**
- * @return string
- */
- public function getGroupOrderSn(): string
- {
- return $this->groupOrderSn;
- }
- /**
- * @param string $groupOrderSn
- * @return StoreGroupOrderEntity
- */
- public function setGroupOrderSn(string $groupOrderSn): StoreGroupOrderEntity
- {
- $this->groupOrderSn = $groupOrderSn;
- return $this;
- }
- /**
- * @return int
- */
- public function getUid(): int
- {
- return $this->uid;
- }
- /**
- * @param int $uid
- * @return StoreGroupOrderEntity
- */
- public function setUid(int $uid): StoreGroupOrderEntity
- {
- $this->uid = $uid;
- return $this;
- }
- /**
- * @return float
- */
- public function getTotalPostage(): float
- {
- return $this->totalPostage;
- }
- /**
- * @param float $totalPostage
- * @return StoreGroupOrderEntity
- */
- public function setTotalPostage(float $totalPostage): StoreGroupOrderEntity
- {
- $this->totalPostage = $totalPostage;
- return $this;
- }
- /**
- * @return float
- */
- public function getTotalPrice(): float
- {
- return $this->totalPrice;
- }
- /**
- * @param float $totalPrice
- * @return StoreGroupOrderEntity
- */
- public function setTotalPrice(float $totalPrice): StoreGroupOrderEntity
- {
- $this->totalPrice = $totalPrice;
- return $this;
- }
- /**
- * @return int
- */
- public function getTotalNum(): int
- {
- return $this->totalNum;
- }
- /**
- * @param int $totalNum
- * @return StoreGroupOrderEntity
- */
- public function setTotalNum(int $totalNum): StoreGroupOrderEntity
- {
- $this->totalNum = $totalNum;
- return $this;
- }
- /**
- * @return float
- */
- public function getCouponPrice(): float
- {
- return $this->couponPrice;
- }
- /**
- * @param float $couponPrice
- * @return StoreGroupOrderEntity
- */
- public function setCouponPrice(float $couponPrice): StoreGroupOrderEntity
- {
- $this->couponPrice = $couponPrice;
- return $this;
- }
- /**
- * @return string
- */
- public function getRealName(): string
- {
- return $this->realName;
- }
- /**
- * @param string $realName
- * @return StoreGroupOrderEntity
- */
- public function setRealName(string $realName): StoreGroupOrderEntity
- {
- $this->realName = $realName;
- return $this;
- }
- /**
- * @return string
- */
- public function getUserPhone(): string
- {
- return $this->userPhone;
- }
- /**
- * @param string $userPhone
- * @return StoreGroupOrderEntity
- */
- public function setUserPhone(string $userPhone): StoreGroupOrderEntity
- {
- $this->userPhone = $userPhone;
- return $this;
- }
- /**
- * @return string
- */
- public function getUserAddress(): string
- {
- return $this->userAddress;
- }
- /**
- * @param string $userAddress
- * @return StoreGroupOrderEntity
- */
- public function setUserAddress(string $userAddress): StoreGroupOrderEntity
- {
- $this->userAddress = $userAddress;
- return $this;
- }
- /**
- * @return float
- */
- public function getPayPrice(): float
- {
- return $this->payPrice;
- }
- /**
- * @param float $payPrice
- * @return StoreGroupOrderEntity
- */
- public function setPayPrice(float $payPrice): StoreGroupOrderEntity
- {
- $this->payPrice = $payPrice;
- return $this;
- }
- /**
- * @return float
- */
- public function getPayPostage(): float
- {
- return $this->payPostage;
- }
- /**
- * @param float $payPostage
- * @return StoreGroupOrderEntity
- */
- public function setPayPostage(float $payPostage): StoreGroupOrderEntity
- {
- $this->payPostage = $payPostage;
- return $this;
- }
- /**
- * @return float
- */
- public function getCost(): float
- {
- return $this->cost;
- }
- /**
- * @param float $cost
- * @return StoreGroupOrderEntity
- */
- public function setCost(float $cost): StoreGroupOrderEntity
- {
- $this->cost = $cost;
- return $this;
- }
- /**
- * @return string
- */
- public function getGiveCouponIds(): string
- {
- return $this->giveCouponIds;
- }
- /**
- * @param string $giveCouponIds
- * @return StoreGroupOrderEntity
- */
- public function setGiveCouponIds(string $giveCouponIds): StoreGroupOrderEntity
- {
- $this->giveCouponIds = $giveCouponIds;
- return $this;
- }
- /**
- * @return int
- */
- public function getPaid(): int
- {
- return $this->paid;
- }
- /**
- * @param int $paid
- * @return StoreGroupOrderEntity
- */
- public function setPaid(int $paid): StoreGroupOrderEntity
- {
- $this->paid = $paid;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getPayTime()
- {
- return $this->payTime;
- }
- /**
- * @param mixed $payTime
- * @return StoreGroupOrderEntity
- */
- public function setPayTime($payTime): StoreGroupOrderEntity
- {
- $this->payTime = $payTime;
- return $this;
- }
- /**
- * @return int
- */
- public function getPayType(): int
- {
- return $this->payType;
- }
- /**
- * @param int $payType
- * @return StoreGroupOrderEntity
- */
- public function setPayType(int $payType): StoreGroupOrderEntity
- {
- $this->payType = $payType;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getCreateTime()
- {
- return $this->createTime;
- }
- /**
- * @param mixed $createTime
- * @return StoreGroupOrderEntity
- */
- public function setCreateTime($createTime): StoreGroupOrderEntity
- {
- $this->createTime = $createTime;
- return $this;
- }
- /**
- * @return int
- */
- public function getIsRemind(): int
- {
- return $this->isRemind;
- }
- /**
- * @param int $isRemind
- * @return StoreGroupOrderEntity
- */
- public function setIsRemind(int $isRemind): StoreGroupOrderEntity
- {
- $this->isRemind = $isRemind;
- return $this;
- }
- /**
- * @return int
- */
- public function getIsDel(): int
- {
- return $this->isDel;
- }
- /**
- * @param int $isDel
- * @return StoreGroupOrderEntity
- */
- public function setIsDel(int $isDel): StoreGroupOrderEntity
- {
- $this->isDel = $isDel;
- return $this;
- }
- /**
- * @return string
- */
- public function getRand(): string
- {
- return $this->rand;
- }
- /**
- * @param string $rand
- * @return StoreGroupOrderEntity
- */
- public function setRand(string $rand): StoreGroupOrderEntity
- {
- $this->rand = $rand;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSplit()
- {
- return $this->split;
- }
- /**
- * @param mixed $split
- * @return StoreGroupOrderEntity
- */
- public function setSplit($split)
- {
- $this->split = $split;
- return $this;
- }
- /**
- * @return string
- */
- public function getSerialNumber(): string
- {
- return $this->serialNumber;
- }
- /**
- * @param string $serialNumber
- * @return StoreGroupOrderEntity
- */
- public function setSerialNumber(string $serialNumber): StoreGroupOrderEntity
- {
- $this->serialNumber = $serialNumber;
- return $this;
- }
- /**
- * @return int
- */
- public function getTestOrder(): int
- {
- return $this->testOrder;
- }
- /**
- * @param int $testOrder
- * @return StoreGroupOrderEntity
- */
- public function setTestOrder(int $testOrder): StoreGroupOrderEntity
- {
- $this->testOrder = $testOrder;
- return $this;
- }
- /**
- * @return string
- */
- public function getHfPayId(): string
- {
- return $this->hfPayId;
- }
- /**
- * @param string $hfPayId
- * @return StoreGroupOrderEntity
- */
- public function setHfPayId(string $hfPayId): StoreGroupOrderEntity
- {
- $this->hfPayId = $hfPayId;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getPayWx()
- {
- return $this->payWx;
- }
- /**
- * @param mixed $payWx
- * @return StoreGroupOrderEntity
- */
- public function setPayWx($payWx): StoreGroupOrderEntity
- {
- $this->payWx = $payWx;
- return $this;
- }
- /**
- * @return string
- */
- public function getFzonePaytype(): string
- {
- return $this->fzonePaytype;
- }
- /**
- * @param mixed $fzonePaytype
- * @return StoreGroupOrderEntity
- */
- public function setFzonePaytype($fzonePaytype): StoreGroupOrderEntity
- {
- if (!is_string($fzonePaytype)) {
- $fzonePaytypePre = $fzonePaytype;
- $fzonePaytype = '';
- if (is_array($fzonePaytypePre)) {
- $fzonePaytype = json_encode($fzonePaytypePre);
- }
- unset($fzonePaytypePre);
- }
- $this->fzonePaytype = $fzonePaytype;
- return $this;
- }
- }
|