Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
98.59% |
70 / 71 |
|
97.92% |
47 / 48 |
CRAP | |
0.00% |
0 / 1 |
| Adressenempfaenger | |
98.59% |
70 / 71 |
|
97.92% |
47 / 48 |
48 | |
0.00% |
0 / 1 |
| __toString | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getAdresse | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAdresse | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAnsprechlfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAnsprechlfdnr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getBemerkung | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBemerkung | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getDruckart | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setDruckart | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailbcc | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailbcc | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailcc | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailcc | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailexpdefnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailexpdefnr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailto | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailto | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerabbe | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerabbe | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFueranba | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFueranba | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFueratrbst | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFueratrbst | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuergser | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuergser | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerlswe | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerlswe | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerma | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerma | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerma1 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerma1 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerma2 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerma2 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerma3 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerma3 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerma4 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerma4 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerma5 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerma5 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerrbso | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerrbso | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerrgst | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerrgst | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerrwrl | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerrwrl | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFuerwa | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFuerwa | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Satag\AmicronEntityBundle\Entity; |
| 6 | |
| 7 | use Doctrine\DBAL\Types\Types; |
| 8 | use Doctrine\ORM\Mapping as ORM; |
| 9 | use Satag\AmicronEntityBundle\Doctrine\IdGeneratorLfdnr; |
| 10 | use Satag\AmicronEntityBundle\Traits\BlameableEntity; |
| 11 | use Satag\AmicronEntityBundle\Traits\BlameableEntityInterface; |
| 12 | |
| 13 | /** |
| 14 | * Address recipient (Adressenempfänger) mapping to ADRESSENEMPFAENGER. |
| 15 | * Links an address record to an email recipient role. |
| 16 | */ |
| 17 | #[ORM\Entity] |
| 18 | #[ORM\Table(name: 'ADRESSENEMPFAENGER')] |
| 19 | #[ORM\Index(columns: ['adressenlfdnr'], name: 'ADRESSENEMPF_ADR_FK')] |
| 20 | class Adressenempfaenger implements \Stringable, BlameableEntityInterface |
| 21 | { |
| 22 | use BlameableEntity; |
| 23 | |
| 24 | #[ORM\ManyToOne(targetEntity: Adresse::class, cascade: ['persist'])] |
| 25 | #[ORM\JoinColumn(name: 'adressenlfdnr', referencedColumnName: 'lfdnr')] |
| 26 | private ?Adresse $adresse = null; |
| 27 | |
| 28 | #[ORM\ManyToOne(targetEntity: Ansprechpartner::class)] |
| 29 | #[ORM\JoinColumn(name: 'ansprechlfdnr', referencedColumnName: 'lfdnr')] |
| 30 | private ?Ansprechpartner $ansprechlfdnr = null; |
| 31 | |
| 32 | #[ORM\Column(name: 'bemerkung', type: Types::TEXT, nullable: true)] |
| 33 | private ?string $bemerkung = null; |
| 34 | |
| 35 | #[ORM\Column(name: 'druckart', type: Types::STRING, length: 1, nullable: true)] |
| 36 | private ?string $druckart = null; |
| 37 | |
| 38 | #[ORM\Column(name: 'emailbcc', type: Types::STRING, length: 80, nullable: true)] |
| 39 | private ?string $emailbcc = null; |
| 40 | |
| 41 | #[ORM\Column(name: 'emailcc', type: Types::STRING, length: 80, nullable: true)] |
| 42 | private ?string $emailcc = null; |
| 43 | |
| 44 | #[ORM\Column(name: 'emailexpdefnr', type: Types::INTEGER, nullable: true)] |
| 45 | private ?int $emailexpdefnr = null; |
| 46 | |
| 47 | #[ORM\Column(name: 'emailto', type: Types::STRING, length: 80, nullable: true)] |
| 48 | private ?string $emailto = null; |
| 49 | |
| 50 | #[ORM\Column(name: 'fuerabbe', type: Types::STRING, length: 1, nullable: true)] |
| 51 | private ?string $fuerabbe = null; |
| 52 | |
| 53 | #[ORM\Column(name: 'fueranba', type: Types::STRING, length: 1, nullable: true)] |
| 54 | private ?string $fueranba = null; |
| 55 | |
| 56 | #[ORM\Column(name: 'fueratrbst', type: Types::STRING, length: 1, nullable: true)] |
| 57 | private ?string $fueratrbst = null; |
| 58 | |
| 59 | #[ORM\Column(name: 'fuergser', type: Types::STRING, length: 1, nullable: true)] |
| 60 | private ?string $fuergser = null; |
| 61 | |
| 62 | #[ORM\Column(name: 'fuerlswe', type: Types::STRING, length: 1, nullable: true)] |
| 63 | private ?string $fuerlswe = null; |
| 64 | |
| 65 | #[ORM\Column(name: 'fuerma', type: Types::STRING, length: 1, nullable: true)] |
| 66 | private ?string $fuerma = null; |
| 67 | |
| 68 | #[ORM\Column(name: 'fuerma1', type: Types::STRING, length: 1, nullable: true)] |
| 69 | private ?string $fuerma1 = null; |
| 70 | |
| 71 | #[ORM\Column(name: 'fuerma2', type: Types::STRING, length: 1, nullable: true)] |
| 72 | private ?string $fuerma2 = null; |
| 73 | |
| 74 | #[ORM\Column(name: 'fuerma3', type: Types::STRING, length: 1, nullable: true)] |
| 75 | private ?string $fuerma3 = null; |
| 76 | |
| 77 | #[ORM\Column(name: 'fuerma4', type: Types::STRING, length: 1, nullable: true)] |
| 78 | private ?string $fuerma4 = null; |
| 79 | |
| 80 | #[ORM\Column(name: 'fuerma5', type: Types::STRING, length: 1, nullable: true)] |
| 81 | private ?string $fuerma5 = null; |
| 82 | |
| 83 | #[ORM\Column(name: 'fuerrbso', type: Types::STRING, length: 1, nullable: true)] |
| 84 | private ?string $fuerrbso = null; |
| 85 | |
| 86 | #[ORM\Column(name: 'fuerrgst', type: Types::STRING, length: 1, nullable: true)] |
| 87 | private ?string $fuerrgst = null; |
| 88 | |
| 89 | #[ORM\Column(name: 'fuerrwrl', type: Types::STRING, length: 1, nullable: true)] |
| 90 | private ?string $fuerrwrl = null; |
| 91 | |
| 92 | #[ORM\Column(name: 'fuerwa', type: Types::STRING, length: 1, nullable: true)] |
| 93 | private ?string $fuerwa = null; |
| 94 | |
| 95 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 96 | #[ORM\Id] |
| 97 | #[ORM\GeneratedValue(strategy: 'CUSTOM')] |
| 98 | #[ORM\CustomIdGenerator(class: IdGeneratorLfdnr::class)] |
| 99 | private ?int $lfdnr = null; |
| 100 | |
| 101 | public function __toString(): string |
| 102 | { |
| 103 | return \sprintf('\\\\Adressenempfaenger:%s', $this->lfdnr); |
| 104 | } |
| 105 | |
| 106 | public function getAdresse(): ?Adresse |
| 107 | { |
| 108 | return $this->adresse; |
| 109 | } |
| 110 | |
| 111 | public function setAdresse(?Adresse $adresse): static |
| 112 | { |
| 113 | $this->adresse = $adresse; |
| 114 | |
| 115 | return $this; |
| 116 | } |
| 117 | |
| 118 | public function getAnsprechlfdnr(): ?Ansprechpartner |
| 119 | { |
| 120 | return $this->ansprechlfdnr; |
| 121 | } |
| 122 | |
| 123 | public function setAnsprechlfdnr(?Ansprechpartner $ansprechlfdnr): static |
| 124 | { |
| 125 | $this->ansprechlfdnr = $ansprechlfdnr; |
| 126 | |
| 127 | return $this; |
| 128 | } |
| 129 | |
| 130 | public function getBemerkung(): ?string |
| 131 | { |
| 132 | return $this->bemerkung; |
| 133 | } |
| 134 | |
| 135 | public function setBemerkung(?string $bemerkung): static |
| 136 | { |
| 137 | $this->bemerkung = $bemerkung; |
| 138 | |
| 139 | return $this; |
| 140 | } |
| 141 | |
| 142 | public function getDruckart(): ?string |
| 143 | { |
| 144 | return $this->druckart; |
| 145 | } |
| 146 | |
| 147 | public function setDruckart(?string $druckart): static |
| 148 | { |
| 149 | $this->druckart = $druckart; |
| 150 | |
| 151 | return $this; |
| 152 | } |
| 153 | |
| 154 | public function getEmailbcc(): ?string |
| 155 | { |
| 156 | return $this->emailbcc; |
| 157 | } |
| 158 | |
| 159 | public function setEmailbcc(?string $emailbcc): static |
| 160 | { |
| 161 | $this->emailbcc = $emailbcc; |
| 162 | |
| 163 | return $this; |
| 164 | } |
| 165 | |
| 166 | public function getEmailcc(): ?string |
| 167 | { |
| 168 | return $this->emailcc; |
| 169 | } |
| 170 | |
| 171 | public function setEmailcc(?string $emailcc): static |
| 172 | { |
| 173 | $this->emailcc = $emailcc; |
| 174 | |
| 175 | return $this; |
| 176 | } |
| 177 | |
| 178 | public function getEmailexpdefnr(): ?int |
| 179 | { |
| 180 | return $this->emailexpdefnr; |
| 181 | } |
| 182 | |
| 183 | public function setEmailexpdefnr(?int $emailexpdefnr): static |
| 184 | { |
| 185 | $this->emailexpdefnr = $emailexpdefnr; |
| 186 | |
| 187 | return $this; |
| 188 | } |
| 189 | |
| 190 | public function getEmailto(): ?string |
| 191 | { |
| 192 | return $this->emailto; |
| 193 | } |
| 194 | |
| 195 | public function setEmailto(?string $emailto): static |
| 196 | { |
| 197 | $this->emailto = $emailto; |
| 198 | |
| 199 | return $this; |
| 200 | } |
| 201 | |
| 202 | public function getFuerabbe(): ?string |
| 203 | { |
| 204 | return $this->fuerabbe; |
| 205 | } |
| 206 | |
| 207 | public function setFuerabbe(?string $v): static |
| 208 | { |
| 209 | $this->fuerabbe = $v; |
| 210 | |
| 211 | return $this; |
| 212 | } |
| 213 | |
| 214 | public function getFueranba(): ?string |
| 215 | { |
| 216 | return $this->fueranba; |
| 217 | } |
| 218 | |
| 219 | public function setFueranba(?string $v): static |
| 220 | { |
| 221 | $this->fueranba = $v; |
| 222 | |
| 223 | return $this; |
| 224 | } |
| 225 | |
| 226 | public function getFueratrbst(): ?string |
| 227 | { |
| 228 | return $this->fueratrbst; |
| 229 | } |
| 230 | |
| 231 | public function setFueratrbst(?string $v): static |
| 232 | { |
| 233 | $this->fueratrbst = $v; |
| 234 | |
| 235 | return $this; |
| 236 | } |
| 237 | |
| 238 | public function getFuergser(): ?string |
| 239 | { |
| 240 | return $this->fuergser; |
| 241 | } |
| 242 | |
| 243 | public function setFuergser(?string $v): static |
| 244 | { |
| 245 | $this->fuergser = $v; |
| 246 | |
| 247 | return $this; |
| 248 | } |
| 249 | |
| 250 | public function getFuerlswe(): ?string |
| 251 | { |
| 252 | return $this->fuerlswe; |
| 253 | } |
| 254 | |
| 255 | public function setFuerlswe(?string $v): static |
| 256 | { |
| 257 | $this->fuerlswe = $v; |
| 258 | |
| 259 | return $this; |
| 260 | } |
| 261 | |
| 262 | public function getFuerma(): ?string |
| 263 | { |
| 264 | return $this->fuerma; |
| 265 | } |
| 266 | |
| 267 | public function setFuerma(?string $v): static |
| 268 | { |
| 269 | $this->fuerma = $v; |
| 270 | |
| 271 | return $this; |
| 272 | } |
| 273 | |
| 274 | public function getFuerma1(): ?string |
| 275 | { |
| 276 | return $this->fuerma1; |
| 277 | } |
| 278 | |
| 279 | public function setFuerma1(?string $v): static |
| 280 | { |
| 281 | $this->fuerma1 = $v; |
| 282 | |
| 283 | return $this; |
| 284 | } |
| 285 | |
| 286 | public function getFuerma2(): ?string |
| 287 | { |
| 288 | return $this->fuerma2; |
| 289 | } |
| 290 | |
| 291 | public function setFuerma2(?string $v): static |
| 292 | { |
| 293 | $this->fuerma2 = $v; |
| 294 | |
| 295 | return $this; |
| 296 | } |
| 297 | |
| 298 | public function getFuerma3(): ?string |
| 299 | { |
| 300 | return $this->fuerma3; |
| 301 | } |
| 302 | |
| 303 | public function setFuerma3(?string $v): static |
| 304 | { |
| 305 | $this->fuerma3 = $v; |
| 306 | |
| 307 | return $this; |
| 308 | } |
| 309 | |
| 310 | public function getFuerma4(): ?string |
| 311 | { |
| 312 | return $this->fuerma4; |
| 313 | } |
| 314 | |
| 315 | public function setFuerma4(?string $v): static |
| 316 | { |
| 317 | $this->fuerma4 = $v; |
| 318 | |
| 319 | return $this; |
| 320 | } |
| 321 | |
| 322 | public function getFuerma5(): ?string |
| 323 | { |
| 324 | return $this->fuerma5; |
| 325 | } |
| 326 | |
| 327 | public function setFuerma5(?string $v): static |
| 328 | { |
| 329 | $this->fuerma5 = $v; |
| 330 | |
| 331 | return $this; |
| 332 | } |
| 333 | |
| 334 | public function getFuerrbso(): ?string |
| 335 | { |
| 336 | return $this->fuerrbso; |
| 337 | } |
| 338 | |
| 339 | public function setFuerrbso(?string $v): static |
| 340 | { |
| 341 | $this->fuerrbso = $v; |
| 342 | |
| 343 | return $this; |
| 344 | } |
| 345 | |
| 346 | public function getFuerrgst(): ?string |
| 347 | { |
| 348 | return $this->fuerrgst; |
| 349 | } |
| 350 | |
| 351 | public function setFuerrgst(?string $v): static |
| 352 | { |
| 353 | $this->fuerrgst = $v; |
| 354 | |
| 355 | return $this; |
| 356 | } |
| 357 | |
| 358 | public function getFuerrwrl(): ?string |
| 359 | { |
| 360 | return $this->fuerrwrl; |
| 361 | } |
| 362 | |
| 363 | public function setFuerrwrl(?string $v): static |
| 364 | { |
| 365 | $this->fuerrwrl = $v; |
| 366 | |
| 367 | return $this; |
| 368 | } |
| 369 | |
| 370 | public function getFuerwa(): ?string |
| 371 | { |
| 372 | return $this->fuerwa; |
| 373 | } |
| 374 | |
| 375 | public function setFuerwa(?string $v): static |
| 376 | { |
| 377 | $this->fuerwa = $v; |
| 378 | |
| 379 | return $this; |
| 380 | } |
| 381 | |
| 382 | public function getLfdnr(): ?int |
| 383 | { |
| 384 | return $this->lfdnr; |
| 385 | } |
| 386 | } |