| 1 | <?php |
||
| 12 | class ContactType |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @ORM\Column(type="integer") |
||
| 16 | * @ORM\Id |
||
| 17 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 18 | */ |
||
| 19 | private $id; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @ORM\Column(type="string", length=25, nullable=false) |
||
| 23 | */ |
||
| 24 | private $name; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get id |
||
| 28 | * |
||
| 29 | * @return integer |
||
| 30 | */ |
||
| 31 | public function getId() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Set name |
||
| 38 | * |
||
| 39 | * @param string $name |
||
| 40 | * |
||
| 41 | * @return ContactType |
||
| 42 | */ |
||
| 43 | public function setName($name) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Get name |
||
| 52 | * |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getName() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function __toString() |
||
| 67 | } |
||
| 68 |