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