vendor/uvdesk/core-framework/Entity/TicketStatus.php line 13

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\CoreFrameworkBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * TicketStatus
  6.  * @ORM\Entity(repositoryClass=null)
  7.  * @ORM\HasLifecycleCallbacks()
  8.  * @ORM\Table(name="uv_ticket_status")
  9.  */
  10. class TicketStatus
  11. {
  12.     /**
  13.      * @var integer
  14.      * @ORM\Id()
  15.      * @ORM\Column(type="integer")
  16.      * @ORM\GeneratedValue(strategy="AUTO")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @var string
  21.      * @ORM\Column(type="string", length=191, unique=true)
  22.      */
  23.     private $code;
  24.     /**
  25.      * @var string
  26.      * @ORM\Column(type="text", nullable=true)
  27.      */
  28.     private $description;
  29.     /**
  30.      * @var string
  31.      * @ORM\Column(type="string", length=191, nullable=true)
  32.      */
  33.     private $colorCode;
  34.     /**
  35.      * @var integer
  36.      * @ORM\Column(type="integer", nullable=true)
  37.      */
  38.     private $sortOrder;
  39.     /**
  40.      * Get id
  41.      *
  42.      * @return integer
  43.      */
  44.     public function getId()
  45.     {
  46.         return $this->id;
  47.     }
  48.     /**
  49.      * Set code
  50.      *
  51.      * @param string $code
  52.      *
  53.      * @return TicketStatus
  54.      */
  55.     public function setCode($code)
  56.     {
  57.         $this->code $code;
  58.         return $this;
  59.     }
  60.     /**
  61.      * Get code
  62.      *
  63.      * @return string
  64.      */
  65.     public function getCode()
  66.     {
  67.         return $this->code;
  68.     }
  69.     /**
  70.      * Set description
  71.      *
  72.      * @param string $description
  73.      *
  74.      * @return TicketStatus
  75.      */
  76.     public function setDescription($description)
  77.     {
  78.         $this->description $description;
  79.         return $this;
  80.     }
  81.     /**
  82.      * Get description
  83.      *
  84.      * @return string
  85.      */
  86.     public function getDescription()
  87.     {
  88.         return $this->description;
  89.     }
  90.     /**
  91.      * Set colorCode
  92.      *
  93.      * @param string $colorCode
  94.      *
  95.      * @return TicketStatus
  96.      */
  97.     public function setColorCode($colorCode)
  98.     {
  99.         $this->colorCode $colorCode;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get colorCode
  104.      *
  105.      * @return string
  106.      */
  107.     public function getColorCode()
  108.     {
  109.         return $this->colorCode;
  110.     }
  111.     /**
  112.      * Set sortOrder
  113.      *
  114.      * @param integer $sortOrder
  115.      *
  116.      * @return TicketStatus
  117.      */
  118.     public function setSortOrder($sortOrder)
  119.     {
  120.         $this->sortOrder $sortOrder;
  121.         return $this;
  122.     }
  123.     /**
  124.      * Get sortOrder
  125.      *
  126.      * @return integer
  127.      */
  128.     public function getSortOrder()
  129.     {
  130.         return $this->sortOrder;
  131.     }
  132. }