Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / DDC964 / DDC964Address.php
1 <?php
2
3 namespace Doctrine\Tests\Models\DDC964;
4
5 /**
6  * @Entity
7  */
8 class DDC964Address
9 {
10
11     /**
12      * @GeneratedValue
13      * @Id @Column(type="integer")
14      */
15     private $id;
16
17     /**
18      * @Column
19      */
20     private $country;
21
22     /**
23      * @Column
24      */
25     private $zip;
26
27     /**
28      * @Column
29      */
30     private $city;
31
32     /**
33      * @Column
34      */
35     private $street;
36
37     /**
38      * @param string $zip
39      * @param string $country
40      * @param string $city
41      * @param string $street
42      */
43     public function __construct($zip = null, $country = null, $city = null, $street = null)
44     {
45         $this->zip      = $zip;
46         $this->country  = $country;
47         $this->city     = $city;
48         $this->street   = $street;
49     }
50
51     /**
52      * @return integer
53      */
54     public function getId()
55     {
56         return $this->id;
57     }
58
59     /**
60      * @return string
61      */
62     public function getCountry()
63     {
64         return $this->country;
65     }
66
67     /**
68      * @param string $country
69      */
70     public function setCountry($country)
71     {
72         $this->country = $country;
73     }
74
75     /**
76      * @return string
77      */
78     public function getZip()
79     {
80         return $this->zip;
81     }
82
83     /**
84      * @param string $zip
85      */
86     public function setZip($zip)
87     {
88         $this->zip = $zip;
89     }
90
91     /**
92      * @return string
93      */
94     public function getCity()
95     {
96         return $this->city;
97     }
98
99     /**
100      * @param string $city
101      */
102     public function setCity($city)
103     {
104         $this->city = $city;
105     }
106
107     /**
108      * @return string
109      */
110     public function getStreet()
111     {
112         return $this->street;
113     }
114
115     /**
116      * @param string $street
117      */
118     public function setStreet($street)
119     {
120         $this->street = $street;
121     }
122
123 }