| Total Complexity | 8 |
| Total Lines | 110 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class TicketStatus |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | * |
||
| 20 | * @ORM\Column(name="id", type="integer") |
||
| 21 | * @ORM\Id |
||
| 22 | * @ORM\GeneratedValue |
||
| 23 | */ |
||
| 24 | protected $id; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | * |
||
| 29 | * @ORM\Column(name="code", type="string", length=255, nullable=false) |
||
| 30 | */ |
||
| 31 | protected $code; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | * |
||
| 36 | * @ORM\Column(name="name", type="string", length=255, nullable=false) |
||
| 37 | */ |
||
| 38 | protected $name; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var string |
||
| 42 | * |
||
| 43 | * @ORM\Column(name="description", type="text", nullable=true) |
||
| 44 | */ |
||
| 45 | protected $description; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return int |
||
| 49 | */ |
||
| 50 | public function getId() |
||
| 51 | { |
||
| 52 | return $this->id; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param int $id |
||
| 57 | * |
||
| 58 | * @return TicketStatus |
||
| 59 | */ |
||
| 60 | public function setId($id) |
||
| 61 | { |
||
| 62 | $this->id = $id; |
||
| 63 | |||
| 64 | return $this; |
||
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return string |
||
| 69 | */ |
||
| 70 | public function getCode() |
||
| 71 | { |
||
| 72 | return $this->code; |
||
| 73 | } |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @param string $code |
||
| 77 | * |
||
| 78 | * @return TicketStatus |
||
| 79 | */ |
||
| 80 | public function setCode($code) |
||
| 81 | { |
||
| 82 | $this->code = $code; |
||
| 83 | |||
| 84 | return $this; |
||
| 85 | } |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @return string |
||
| 89 | */ |
||
| 90 | public function getName() |
||
| 91 | { |
||
| 92 | return $this->name; |
||
| 93 | } |
||
| 94 | |||
| 95 | /** |
||
| 96 | * @param string $name |
||
| 97 | * |
||
| 98 | * @return TicketStatus |
||
| 99 | */ |
||
| 100 | public function setName($name) |
||
| 105 | } |
||
| 106 | |||
| 107 | /** |
||
| 108 | * @return string |
||
| 109 | */ |
||
| 110 | public function getDescription() |
||
| 113 | } |
||
| 114 | |||
| 115 | /** |
||
| 116 | * @param string $description |
||
| 117 | * |
||
| 118 | * @return TicketStatus |
||
| 119 | */ |
||
| 120 | public function setDescription($description) |
||
| 127 |