|
| 1 | +<?php |
| 2 | +declare(strict_types=1); |
| 3 | +namespace MessageInfo; |
| 4 | + |
| 5 | +/** |
| 6 | + * Auto generated data provider |
| 7 | + */ |
| 8 | +final class NumberAPIDataProvider extends \Xervice\DataProvider\Business\Model\DataProvider\AbstractDataProvider implements \Xervice\DataProvider\Business\Model\DataProvider\DataProviderInterface |
| 9 | +{ |
| 10 | + /** @var int */ |
| 11 | + protected $doctorId; |
| 12 | + |
| 13 | + /** @var string */ |
| 14 | + protected $number; |
| 15 | + |
| 16 | + /** @var string */ |
| 17 | + protected $creationDate; |
| 18 | + |
| 19 | + /** @var string */ |
| 20 | + protected $modifiedStateDate; |
| 21 | + |
| 22 | + /** @var bool */ |
| 23 | + protected $status; |
| 24 | + |
| 25 | + |
| 26 | + /** |
| 27 | + * @return int |
| 28 | + */ |
| 29 | + public function getDoctorId(): int |
| 30 | + { |
| 31 | + return $this->doctorId; |
| 32 | + } |
| 33 | + |
| 34 | + |
| 35 | + /** |
| 36 | + * @param int $doctorId |
| 37 | + * @return NumberAPIDataProvider |
| 38 | + */ |
| 39 | + public function setDoctorId(int $doctorId) |
| 40 | + { |
| 41 | + $this->doctorId = $doctorId; |
| 42 | + |
| 43 | + return $this; |
| 44 | + } |
| 45 | + |
| 46 | + |
| 47 | + /** |
| 48 | + * @return NumberAPIDataProvider |
| 49 | + */ |
| 50 | + public function unsetDoctorId() |
| 51 | + { |
| 52 | + $this->doctorId = null; |
| 53 | + |
| 54 | + return $this; |
| 55 | + } |
| 56 | + |
| 57 | + |
| 58 | + /** |
| 59 | + * @return bool |
| 60 | + */ |
| 61 | + public function hasDoctorId() |
| 62 | + { |
| 63 | + return ($this->doctorId !== null && $this->doctorId !== []); |
| 64 | + } |
| 65 | + |
| 66 | + |
| 67 | + /** |
| 68 | + * @return string |
| 69 | + */ |
| 70 | + public function getNumber(): string |
| 71 | + { |
| 72 | + return $this->number; |
| 73 | + } |
| 74 | + |
| 75 | + |
| 76 | + /** |
| 77 | + * @param string $number |
| 78 | + * @return NumberAPIDataProvider |
| 79 | + */ |
| 80 | + public function setNumber(string $number) |
| 81 | + { |
| 82 | + $this->number = $number; |
| 83 | + |
| 84 | + return $this; |
| 85 | + } |
| 86 | + |
| 87 | + |
| 88 | + /** |
| 89 | + * @return NumberAPIDataProvider |
| 90 | + */ |
| 91 | + public function unsetNumber() |
| 92 | + { |
| 93 | + $this->number = null; |
| 94 | + |
| 95 | + return $this; |
| 96 | + } |
| 97 | + |
| 98 | + |
| 99 | + /** |
| 100 | + * @return bool |
| 101 | + */ |
| 102 | + public function hasNumber() |
| 103 | + { |
| 104 | + return ($this->number !== null && $this->number !== []); |
| 105 | + } |
| 106 | + |
| 107 | + |
| 108 | + /** |
| 109 | + * @return string |
| 110 | + */ |
| 111 | + public function getCreationDate(): string |
| 112 | + { |
| 113 | + return $this->creationDate; |
| 114 | + } |
| 115 | + |
| 116 | + |
| 117 | + /** |
| 118 | + * @param string $creationDate |
| 119 | + * @return NumberAPIDataProvider |
| 120 | + */ |
| 121 | + public function setCreationDate(string $creationDate) |
| 122 | + { |
| 123 | + $this->creationDate = $creationDate; |
| 124 | + |
| 125 | + return $this; |
| 126 | + } |
| 127 | + |
| 128 | + |
| 129 | + /** |
| 130 | + * @return NumberAPIDataProvider |
| 131 | + */ |
| 132 | + public function unsetCreationDate() |
| 133 | + { |
| 134 | + $this->creationDate = null; |
| 135 | + |
| 136 | + return $this; |
| 137 | + } |
| 138 | + |
| 139 | + |
| 140 | + /** |
| 141 | + * @return bool |
| 142 | + */ |
| 143 | + public function hasCreationDate() |
| 144 | + { |
| 145 | + return ($this->creationDate !== null && $this->creationDate !== []); |
| 146 | + } |
| 147 | + |
| 148 | + |
| 149 | + /** |
| 150 | + * @return string |
| 151 | + */ |
| 152 | + public function getModifiedStateDate(): ?string |
| 153 | + { |
| 154 | + return $this->modifiedStateDate; |
| 155 | + } |
| 156 | + |
| 157 | + |
| 158 | + /** |
| 159 | + * @param string $modifiedStateDate |
| 160 | + * @return NumberAPIDataProvider |
| 161 | + */ |
| 162 | + public function setModifiedStateDate(?string $modifiedStateDate = null) |
| 163 | + { |
| 164 | + $this->modifiedStateDate = $modifiedStateDate; |
| 165 | + |
| 166 | + return $this; |
| 167 | + } |
| 168 | + |
| 169 | + |
| 170 | + /** |
| 171 | + * @return NumberAPIDataProvider |
| 172 | + */ |
| 173 | + public function unsetModifiedStateDate() |
| 174 | + { |
| 175 | + $this->modifiedStateDate = null; |
| 176 | + |
| 177 | + return $this; |
| 178 | + } |
| 179 | + |
| 180 | + |
| 181 | + /** |
| 182 | + * @return bool |
| 183 | + */ |
| 184 | + public function hasModifiedStateDate() |
| 185 | + { |
| 186 | + return ($this->modifiedStateDate !== null && $this->modifiedStateDate !== []); |
| 187 | + } |
| 188 | + |
| 189 | + |
| 190 | + /** |
| 191 | + * @return bool |
| 192 | + */ |
| 193 | + public function getStatus(): ?bool |
| 194 | + { |
| 195 | + return $this->status; |
| 196 | + } |
| 197 | + |
| 198 | + |
| 199 | + /** |
| 200 | + * @param bool $status |
| 201 | + * @return NumberAPIDataProvider |
| 202 | + */ |
| 203 | + public function setStatus(?bool $status = null) |
| 204 | + { |
| 205 | + $this->status = $status; |
| 206 | + |
| 207 | + return $this; |
| 208 | + } |
| 209 | + |
| 210 | + |
| 211 | + /** |
| 212 | + * @return NumberAPIDataProvider |
| 213 | + */ |
| 214 | + public function unsetStatus() |
| 215 | + { |
| 216 | + $this->status = null; |
| 217 | + |
| 218 | + return $this; |
| 219 | + } |
| 220 | + |
| 221 | + |
| 222 | + /** |
| 223 | + * @return bool |
| 224 | + */ |
| 225 | + public function hasStatus() |
| 226 | + { |
| 227 | + return ($this->status !== null && $this->status !== []); |
| 228 | + } |
| 229 | + |
| 230 | + |
| 231 | + /** |
| 232 | + * @return array |
| 233 | + */ |
| 234 | + protected function getElements(): array |
| 235 | + { |
| 236 | + return array ( |
| 237 | + 'doctorId' => |
| 238 | + array ( |
| 239 | + 'name' => 'doctorId', |
| 240 | + 'allownull' => false, |
| 241 | + 'default' => '', |
| 242 | + 'type' => 'int', |
| 243 | + 'is_collection' => false, |
| 244 | + 'is_dataprovider' => false, |
| 245 | + 'isCamelCase' => false, |
| 246 | + ), |
| 247 | + 'number' => |
| 248 | + array ( |
| 249 | + 'name' => 'number', |
| 250 | + 'allownull' => false, |
| 251 | + 'default' => '', |
| 252 | + 'type' => 'string', |
| 253 | + 'is_collection' => false, |
| 254 | + 'is_dataprovider' => false, |
| 255 | + 'isCamelCase' => false, |
| 256 | + ), |
| 257 | + 'creationDate' => |
| 258 | + array ( |
| 259 | + 'name' => 'creationDate', |
| 260 | + 'allownull' => false, |
| 261 | + 'default' => '', |
| 262 | + 'type' => 'string', |
| 263 | + 'is_collection' => false, |
| 264 | + 'is_dataprovider' => false, |
| 265 | + 'isCamelCase' => false, |
| 266 | + ), |
| 267 | + 'modifiedStateDate' => |
| 268 | + array ( |
| 269 | + 'name' => 'modifiedStateDate', |
| 270 | + 'allownull' => true, |
| 271 | + 'default' => '', |
| 272 | + 'type' => 'string', |
| 273 | + 'is_collection' => false, |
| 274 | + 'is_dataprovider' => false, |
| 275 | + 'isCamelCase' => false, |
| 276 | + ), |
| 277 | + 'status' => |
| 278 | + array ( |
| 279 | + 'name' => 'status', |
| 280 | + 'allownull' => true, |
| 281 | + 'default' => '', |
| 282 | + 'type' => 'bool', |
| 283 | + 'is_collection' => false, |
| 284 | + 'is_dataprovider' => false, |
| 285 | + 'isCamelCase' => false, |
| 286 | + ), |
| 287 | + ); |
| 288 | + } |
| 289 | +} |
0 commit comments