vendor/uvdesk/core-framework/Entity/TicketPriority.php line 12

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\CoreFrameworkBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * TicketPriority
  6. * @ORM\Entity(repositoryClass=null)
  7. * @ORM\HasLifecycleCallbacks()
  8. * @ORM\Table(name="uv_ticket_priority")
  9. */
  10. class TicketPriority
  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. * Get id
  36. *
  37. * @return integer
  38. */
  39. public function getId()
  40. {
  41. return $this->id;
  42. }
  43. /**
  44. * Set code
  45. *
  46. * @param string $code
  47. *
  48. * @return TicketPriority
  49. */
  50. public function setCode($code)
  51. {
  52. $this->code = $code;
  53. return $this;
  54. }
  55. /**
  56. * Get code
  57. *
  58. * @return string
  59. */
  60. public function getCode()
  61. {
  62. return $this->code;
  63. }
  64. /**
  65. * Set description
  66. *
  67. * @param string $description
  68. *
  69. * @return TicketPriority
  70. */
  71. public function setDescription($description)
  72. {
  73. $this->description = $description;
  74. return $this;
  75. }
  76. /**
  77. * Get description
  78. *
  79. * @return string
  80. */
  81. public function getDescription()
  82. {
  83. return $this->description;
  84. }
  85. /**
  86. * Set colorCode
  87. *
  88. * @param string $colorCode
  89. *
  90. * @return TicketPriority
  91. */
  92. public function setColorCode($colorCode)
  93. {
  94. $this->colorCode = $colorCode;
  95. return $this;
  96. }
  97. /**
  98. * Get colorCode
  99. *
  100. * @return string
  101. */
  102. public function getColorCode()
  103. {
  104. return $this->colorCode;
  105. }
  106. }