vendor/uvdesk/core-framework/Entity/SupportRole.php line 14

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\CoreFrameworkBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * SupportRole
  6. * @ORM\Entity(repositoryClass=null)
  7. * @ORM\HasLifecycleCallbacks()
  8. * @ORM\Table(name="uv_support_role")
  9. *
  10. */
  11. class SupportRole
  12. {
  13. /**
  14. * @var integer
  15. * @ORM\Id()
  16. * @ORM\Column(type="integer")
  17. * @ORM\GeneratedValue(strategy="AUTO")
  18. */
  19. private $id;
  20. /**
  21. * @var string
  22. * @ORM\Column(name="code", length=191, unique=true)
  23. */
  24. private $code;
  25. /**
  26. * @var string
  27. * @ORM\Column(name="description", type="string", length=191, nullable=true)
  28. */
  29. private $description;
  30. /**
  31. * Get id
  32. *
  33. * @return integer
  34. */
  35. public function getId()
  36. {
  37. return $this->id;
  38. }
  39. /**
  40. * Set code
  41. *
  42. * @param string $code
  43. *
  44. * @return SupportRole
  45. */
  46. public function setCode($code)
  47. {
  48. $this->code = $code;
  49. return $this;
  50. }
  51. /**
  52. * Get code
  53. *
  54. * @return string
  55. */
  56. public function getCode()
  57. {
  58. return $this->code;
  59. }
  60. /**
  61. * Set description
  62. *
  63. * @param string $description
  64. *
  65. * @return SupportRole
  66. */
  67. public function setDescription($description)
  68. {
  69. $this->description = $description;
  70. return $this;
  71. }
  72. /**
  73. * Get description
  74. *
  75. * @return string
  76. */
  77. public function getDescription()
  78. {
  79. return $this->description;
  80. }
  81. }