1 | <?php |
||
7 | class Address |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @ORM\Id |
||
12 | * @ORM\Column(type="integer") |
||
13 | * @ORM\GeneratedValue |
||
14 | */ |
||
15 | private $id; |
||
16 | |||
17 | /** @ORM\Column(type="string") */ |
||
18 | private $name; |
||
19 | |||
20 | /** @ORM\Column(type="string") */ |
||
21 | private $street; |
||
22 | |||
23 | /** @ORM\Column(type="string") */ |
||
24 | private $zip; |
||
25 | |||
26 | /** @ORM\Column(type="string") */ |
||
27 | private $city; |
||
28 | |||
29 | public function __construct() |
||
32 | |||
33 | /** |
||
34 | * @param mixed $name |
||
35 | */ |
||
36 | public function setName($name) |
||
40 | |||
41 | /** |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function getName() |
||
48 | |||
49 | /** |
||
50 | * @param mixed $street |
||
51 | */ |
||
52 | public function setStreet($street) |
||
56 | |||
57 | /** |
||
58 | * @return mixed |
||
59 | */ |
||
60 | public function getStreet() |
||
64 | |||
65 | /** |
||
66 | * @param mixed $zip |
||
67 | */ |
||
68 | public function setZip($zip) |
||
72 | |||
73 | /** |
||
74 | * @return mixed |
||
75 | */ |
||
76 | public function getZip() |
||
80 | |||
81 | /** |
||
82 | * @param mixed $city |
||
83 | */ |
||
84 | public function setCity($city) |
||
88 | |||
89 | /** |
||
90 | * @return mixed |
||
91 | */ |
||
92 | public function getCity() |
||
96 | |||
97 | } |
||
98 |