/src/AppBundle/Entity/Customer/TempOrdersStatusHistory.php

https://gitlab.com/StarsoftDevelopers/migrate · PHP · 190 lines · 61 code · 26 blank · 103 comment · 0 complexity · ba2eadd0a43d61f5d822e9c1977d0df1 MD5 · raw file

  1. <?php
  2. namespace AppBundle\Entity\Customer;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * TempOrdersStatusHistory
  6. *
  7. * @ORM\Table(name="temp_orders_status_history")
  8. * @ORM\Entity
  9. */
  10. class TempOrdersStatusHistory
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="orders_status_history_id", type="integer", nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $ordersStatusHistoryId;
  20. /**
  21. * @var integer
  22. *
  23. * @ORM\Column(name="orders_id", type="integer", nullable=false)
  24. */
  25. private $ordersId = '0';
  26. /**
  27. * @var integer
  28. *
  29. * @ORM\Column(name="orders_status_id", type="integer", nullable=false)
  30. */
  31. private $ordersStatusId = '0';
  32. /**
  33. * @var \DateTime
  34. *
  35. * @ORM\Column(name="date_added", type="datetime", nullable=false)
  36. */
  37. private $dateAdded = '0000-00-00 00:00:00';
  38. /**
  39. * @var integer
  40. *
  41. * @ORM\Column(name="customer_notified", type="integer", nullable=true)
  42. */
  43. private $customerNotified = '0';
  44. /**
  45. * @var string
  46. *
  47. * @ORM\Column(name="comments", type="text", length=65535, nullable=true)
  48. */
  49. private $comments;
  50. /**
  51. * Get ordersStatusHistoryId
  52. *
  53. * @return integer
  54. */
  55. public function getOrdersStatusHistoryId()
  56. {
  57. return $this->ordersStatusHistoryId;
  58. }
  59. /**
  60. * Set ordersId
  61. *
  62. * @param integer $ordersId
  63. *
  64. * @return TempOrdersStatusHistory
  65. */
  66. public function setOrdersId($ordersId)
  67. {
  68. $this->ordersId = $ordersId;
  69. return $this;
  70. }
  71. /**
  72. * Get ordersId
  73. *
  74. * @return integer
  75. */
  76. public function getOrdersId()
  77. {
  78. return $this->ordersId;
  79. }
  80. /**
  81. * Set ordersStatusId
  82. *
  83. * @param integer $ordersStatusId
  84. *
  85. * @return TempOrdersStatusHistory
  86. */
  87. public function setOrdersStatusId($ordersStatusId)
  88. {
  89. $this->ordersStatusId = $ordersStatusId;
  90. return $this;
  91. }
  92. /**
  93. * Get ordersStatusId
  94. *
  95. * @return integer
  96. */
  97. public function getOrdersStatusId()
  98. {
  99. return $this->ordersStatusId;
  100. }
  101. /**
  102. * Set dateAdded
  103. *
  104. * @param \DateTime $dateAdded
  105. *
  106. * @return TempOrdersStatusHistory
  107. */
  108. public function setDateAdded($dateAdded)
  109. {
  110. $this->dateAdded = $dateAdded;
  111. return $this;
  112. }
  113. /**
  114. * Get dateAdded
  115. *
  116. * @return \DateTime
  117. */
  118. public function getDateAdded()
  119. {
  120. return $this->dateAdded;
  121. }
  122. /**
  123. * Set customerNotified
  124. *
  125. * @param integer $customerNotified
  126. *
  127. * @return TempOrdersStatusHistory
  128. */
  129. public function setCustomerNotified($customerNotified)
  130. {
  131. $this->customerNotified = $customerNotified;
  132. return $this;
  133. }
  134. /**
  135. * Get customerNotified
  136. *
  137. * @return integer
  138. */
  139. public function getCustomerNotified()
  140. {
  141. return $this->customerNotified;
  142. }
  143. /**
  144. * Set comments
  145. *
  146. * @param string $comments
  147. *
  148. * @return TempOrdersStatusHistory
  149. */
  150. public function setComments($comments)
  151. {
  152. $this->comments = $comments;
  153. return $this;
  154. }
  155. /**
  156. * Get comments
  157. *
  158. * @return string
  159. */
  160. public function getComments()
  161. {
  162. return $this->comments;
  163. }
  164. }