Total Complexity | 14 |
Total Lines | 161 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class Addr extends Record |
||
24 | { |
||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $addr; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $adr1; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $adr2; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $city; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | protected $stae; |
||
49 | |||
50 | /** |
||
51 | * @var string |
||
52 | */ |
||
53 | protected $post; |
||
54 | |||
55 | /** |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $ctry; |
||
59 | |||
60 | /** |
||
61 | * @param string $addr |
||
62 | * @return Addr |
||
63 | */ |
||
64 | public function setAddr($addr = '') |
||
65 | { |
||
66 | $this->addr = $addr; |
||
67 | return $this; |
||
68 | } |
||
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getAddr() |
||
74 | { |
||
75 | return $this->addr; |
||
76 | } |
||
77 | |||
78 | /** |
||
79 | * @param string $adr1 |
||
80 | * @return Addr |
||
81 | */ |
||
82 | public function setAdr1($adr1 = '') |
||
83 | { |
||
84 | $this->adr1 = $adr1; |
||
85 | return $this; |
||
86 | } |
||
87 | |||
88 | /** |
||
89 | * @return string |
||
90 | */ |
||
91 | public function getAdr1() |
||
92 | { |
||
93 | return $this->adr1; |
||
94 | } |
||
95 | |||
96 | /** |
||
97 | * @param string $adr2 |
||
98 | * @return Addr |
||
99 | */ |
||
100 | public function setAdr2($adr2 = '') |
||
101 | { |
||
102 | $this->adr2 = $adr2; |
||
103 | return $this; |
||
104 | } |
||
105 | |||
106 | /** |
||
107 | * @return string |
||
108 | */ |
||
109 | public function getAdr2() |
||
110 | { |
||
111 | return $this->adr2; |
||
112 | } |
||
113 | |||
114 | /** |
||
115 | * @param string $city |
||
116 | * @return Addr |
||
117 | */ |
||
118 | public function setCity($city = '') |
||
119 | { |
||
120 | $this->city = $city; |
||
121 | return $this; |
||
122 | } |
||
123 | |||
124 | /** |
||
125 | * @return string |
||
126 | */ |
||
127 | public function getCity() |
||
128 | { |
||
129 | return $this->city; |
||
130 | } |
||
131 | |||
132 | /** |
||
133 | * @param string $stae |
||
134 | * @return Addr |
||
135 | */ |
||
136 | public function setStae($stae = '') |
||
137 | { |
||
138 | $this->stae = $stae; |
||
139 | return $this; |
||
140 | } |
||
141 | |||
142 | /** |
||
143 | * @return string |
||
144 | */ |
||
145 | public function getStae() |
||
146 | { |
||
147 | return $this->stae; |
||
148 | } |
||
149 | |||
150 | /** |
||
151 | * @param string $post |
||
152 | * @return Addr |
||
153 | */ |
||
154 | public function setPost($post = '') |
||
155 | { |
||
156 | $this->post = $post; |
||
157 | return $this; |
||
158 | } |
||
159 | |||
160 | /** |
||
161 | * @return string |
||
162 | */ |
||
163 | public function getPost() |
||
166 | } |
||
167 | |||
168 | /** |
||
169 | * @param string $ctry |
||
170 | * @return Addr |
||
171 | */ |
||
172 | public function setCtry($ctry = '') |
||
176 | } |
||
177 | |||
178 | /** |
||
179 | * @return string |
||
180 | */ |
||
181 | public function getCtry() |
||
184 | } |
||
185 | } |
||
186 |