/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
- <?php
- namespace AppBundle\Entity\Customer;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * TempOrdersStatusHistory
- *
- * @ORM\Table(name="temp_orders_status_history")
- * @ORM\Entity
- */
- class TempOrdersStatusHistory
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="orders_status_history_id", type="integer", nullable=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $ordersStatusHistoryId;
- /**
- * @var integer
- *
- * @ORM\Column(name="orders_id", type="integer", nullable=false)
- */
- private $ordersId = '0';
- /**
- * @var integer
- *
- * @ORM\Column(name="orders_status_id", type="integer", nullable=false)
- */
- private $ordersStatusId = '0';
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="date_added", type="datetime", nullable=false)
- */
- private $dateAdded = '0000-00-00 00:00:00';
- /**
- * @var integer
- *
- * @ORM\Column(name="customer_notified", type="integer", nullable=true)
- */
- private $customerNotified = '0';
- /**
- * @var string
- *
- * @ORM\Column(name="comments", type="text", length=65535, nullable=true)
- */
- private $comments;
- /**
- * Get ordersStatusHistoryId
- *
- * @return integer
- */
- public function getOrdersStatusHistoryId()
- {
- return $this->ordersStatusHistoryId;
- }
- /**
- * Set ordersId
- *
- * @param integer $ordersId
- *
- * @return TempOrdersStatusHistory
- */
- public function setOrdersId($ordersId)
- {
- $this->ordersId = $ordersId;
- return $this;
- }
- /**
- * Get ordersId
- *
- * @return integer
- */
- public function getOrdersId()
- {
- return $this->ordersId;
- }
- /**
- * Set ordersStatusId
- *
- * @param integer $ordersStatusId
- *
- * @return TempOrdersStatusHistory
- */
- public function setOrdersStatusId($ordersStatusId)
- {
- $this->ordersStatusId = $ordersStatusId;
- return $this;
- }
- /**
- * Get ordersStatusId
- *
- * @return integer
- */
- public function getOrdersStatusId()
- {
- return $this->ordersStatusId;
- }
- /**
- * Set dateAdded
- *
- * @param \DateTime $dateAdded
- *
- * @return TempOrdersStatusHistory
- */
- public function setDateAdded($dateAdded)
- {
- $this->dateAdded = $dateAdded;
- return $this;
- }
- /**
- * Get dateAdded
- *
- * @return \DateTime
- */
- public function getDateAdded()
- {
- return $this->dateAdded;
- }
- /**
- * Set customerNotified
- *
- * @param integer $customerNotified
- *
- * @return TempOrdersStatusHistory
- */
- public function setCustomerNotified($customerNotified)
- {
- $this->customerNotified = $customerNotified;
- return $this;
- }
- /**
- * Get customerNotified
- *
- * @return integer
- */
- public function getCustomerNotified()
- {
- return $this->customerNotified;
- }
- /**
- * Set comments
- *
- * @param string $comments
- *
- * @return TempOrdersStatusHistory
- */
- public function setComments($comments)
- {
- $this->comments = $comments;
- return $this;
- }
- /**
- * Get comments
- *
- * @return string
- */
- public function getComments()
- {
- return $this->comments;
- }
- }