| 1 | <?php |
||
| 7 | class DDC3303Address |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @Column(type="string") |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $street; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @Column(type="integer") |
||
| 18 | * |
||
| 19 | * @var int |
||
| 20 | */ |
||
| 21 | private $number; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @Column(type="string") |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $city; |
||
| 29 | |||
| 30 | public function __construct($street, $number, $city) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getStreet() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return mixed |
||
| 47 | */ |
||
| 48 | public function getNumber() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getCity() |
||
| 60 | } |
||
| 61 |