1 | <?php |
||
13 | class Sector |
||
14 | { |
||
15 | /** |
||
16 | * @var integer |
||
17 | * |
||
18 | * @ORM\Column(name="id", type="integer", nullable=false) |
||
19 | * @ORM\Id |
||
20 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
21 | */ |
||
22 | private $id; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | * |
||
27 | * @ORM\Column(name="name", type="string", length=255, nullable=true) |
||
28 | */ |
||
29 | private $name; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | * |
||
34 | * @ORM\Column(name="color", type="string", length=10, nullable=true) |
||
35 | */ |
||
36 | private $color; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | * |
||
41 | * @ORM\Column(name="description", type="text", length=65535, nullable=true) |
||
42 | */ |
||
43 | private $description; |
||
44 | |||
45 | |||
46 | |||
47 | /** |
||
48 | * Gets the value of id. |
||
49 | * |
||
50 | * @return integer |
||
51 | */ |
||
52 | public function getId() |
||
56 | |||
57 | |||
58 | |||
59 | /** |
||
60 | * Gets the value of name. |
||
61 | * |
||
62 | * @return string |
||
63 | */ |
||
64 | public function getName() |
||
68 | |||
69 | /** |
||
70 | * Sets the value of name. |
||
71 | * |
||
72 | * @param string $name the name |
||
73 | * |
||
74 | * @return self |
||
75 | */ |
||
76 | private function setName($name) |
||
82 | |||
83 | /** |
||
84 | * Gets the value of color. |
||
85 | * |
||
86 | * @return string |
||
87 | */ |
||
88 | public function getColor() |
||
92 | |||
93 | /** |
||
94 | * Sets the value of color. |
||
95 | * |
||
96 | * @param string $color the color |
||
97 | * |
||
98 | * @return self |
||
99 | */ |
||
100 | private function setColor($color) |
||
106 | |||
107 | /** |
||
108 | * Gets the value of description. |
||
109 | * |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getDescription() |
||
116 | |||
117 | /** |
||
118 | * Sets the value of description. |
||
119 | * |
||
120 | * @param string $description the description |
||
121 | * |
||
122 | * @return self |
||
123 | */ |
||
124 | private function setDescription($description) |
||
130 | } |
||
131 | |||
132 |