StoreOrderStatusEntity.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. namespace app\entity\data\store;
  3. use app\entity\data\DataEntity;
  4. class StoreOrderStatusEntity extends DataEntity
  5. {
  6. public $orderId = null; // 订单id
  7. public $changeType = null; // 操作类型
  8. public $changeMessage = null; // 操作备注
  9. public $changeTime = null; // 操作时间
  10. /**
  11. * @return mixed
  12. */
  13. public function getOrderId()
  14. {
  15. return $this->orderId;
  16. }
  17. /**
  18. * @param mixed $orderId
  19. * @return StoreOrderStatusEntity
  20. */
  21. public function setOrderId($orderId): StoreOrderStatusEntity
  22. {
  23. $this->orderId = (string)$orderId;
  24. return $this;
  25. }
  26. /**
  27. * @return mixed
  28. */
  29. public function getChangeType()
  30. {
  31. return $this->changeType;
  32. }
  33. /**
  34. * @param mixed $changeType
  35. * @return StoreOrderStatusEntity
  36. */
  37. public function setChangeType($changeType): StoreOrderStatusEntity
  38. {
  39. $this->changeType = $changeType;
  40. return $this;
  41. }
  42. /**
  43. * @return mixed
  44. */
  45. public function getChangeMessage()
  46. {
  47. return $this->changeMessage;
  48. }
  49. /**
  50. * @param mixed $changeMessage
  51. * @return StoreOrderStatusEntity
  52. */
  53. public function setChangeMessage($changeMessage): StoreOrderStatusEntity
  54. {
  55. $this->changeMessage = $changeMessage;
  56. return $this;
  57. }
  58. /**
  59. * @return mixed
  60. */
  61. public function getChangeTime()
  62. {
  63. return $this->changeTime;
  64. }
  65. /**
  66. * @param mixed $changeTime
  67. * @return StoreOrderStatusEntity
  68. */
  69. public function setChangeTime($changeTime): StoreOrderStatusEntity
  70. {
  71. $this->changeTime = $changeTime;
  72. return $this;
  73. }
  74. }