Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
76 / 76 |
|
100.00% |
51 / 51 |
CRAP | |
100.00% |
1 / 1 |
| Werbeadressprotokoll | |
100.00% |
76 / 76 |
|
100.00% |
51 / 51 |
51 | |
100.00% |
1 / 1 |
| getAdresselfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAdresselfdnr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAnrede | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAnrede | |
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 | |||
| getArt | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setArt | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAuftragssperre | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAuftragssperre | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmail | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmail | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFax | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFax | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLand | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setLand | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getName | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setName | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getName2 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setName2 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getName3 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setName3 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getOrt | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setOrt | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getPlz | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setPlz | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getPostanschrift | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setPostanschrift | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSerienbriefsperre | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSerienbriefsperre | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSerienemailsperre | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSerienemailsperre | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getStrasse | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setStrasse | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getTelefon1 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setTelefon1 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getTelefon2 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setTelefon2 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getTelefon3 | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setTelefon3 | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getTelefonakquisesperre | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setTelefonakquisesperre | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getTitel | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setTitel | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getUmsatz | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setUmsatz | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getVorname | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setVorname | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getWerbesessionslfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setWerbesessionslfdnr | |
100.00% |
2 / 2 |
|
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 | |
| 10 | #[ORM\Entity] |
| 11 | #[ORM\Table(name: 'WERBEADRESSPROTOKOLL')] |
| 12 | #[ORM\Index(columns: ['adresselfdnr'], name: 'WERBEADRESSPROTOKOLL_ADR_FK')] |
| 13 | #[ORM\Index(columns: ['ansprechlfdnr'], name: 'WERBEADRESSPROTOKOLL_ANSPR_FK')] |
| 14 | #[ORM\Index(columns: ['werbesessionslfdnr'], name: 'WERBEADRESSPROTOKOLL_WSES_FK')] |
| 15 | class Werbeadressprotokoll |
| 16 | { |
| 17 | #[ORM\ManyToOne(targetEntity: Adresse::class)] |
| 18 | #[ORM\JoinColumn(name: 'adresselfdnr', referencedColumnName: 'lfdnr')] |
| 19 | private ?Adresse $adresselfdnr = null; |
| 20 | |
| 21 | #[ORM\Column(name: 'anrede', type: Types::STRING, length: 25, nullable: true)] |
| 22 | private ?string $anrede = null; |
| 23 | |
| 24 | #[ORM\ManyToOne(targetEntity: Ansprechpartner::class)] |
| 25 | #[ORM\JoinColumn(name: 'ansprechlfdnr', referencedColumnName: 'lfdnr')] |
| 26 | private ?Ansprechpartner $ansprechlfdnr = null; |
| 27 | |
| 28 | #[ORM\Column(name: 'art', type: Types::STRING, length: 1, nullable: true)] |
| 29 | private ?string $art = null; |
| 30 | |
| 31 | #[ORM\Column(name: 'auftragssperre', type: Types::STRING, length: 1, nullable: true)] |
| 32 | private ?string $auftragssperre = null; |
| 33 | |
| 34 | #[ORM\Column(name: 'email', type: Types::STRING, length: 70, nullable: true)] |
| 35 | private ?string $email = null; |
| 36 | |
| 37 | #[ORM\Column(name: 'fax', type: Types::STRING, length: 30, nullable: true)] |
| 38 | private ?string $fax = null; |
| 39 | |
| 40 | #[ORM\Column(name: 'land', type: Types::STRING, length: 3, nullable: true)] |
| 41 | private ?string $land = null; |
| 42 | |
| 43 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 44 | #[ORM\Id] |
| 45 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 46 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 47 | public private(set) ?int $lfdnr = null; |
| 48 | |
| 49 | #[ORM\Column(name: 'name', type: Types::STRING, length: 40, nullable: true)] |
| 50 | private ?string $name = null; |
| 51 | |
| 52 | #[ORM\Column(name: 'name2', type: Types::STRING, length: 50, nullable: true)] |
| 53 | private ?string $name2 = null; |
| 54 | |
| 55 | #[ORM\Column(name: 'name3', type: Types::STRING, length: 50, nullable: true)] |
| 56 | private ?string $name3 = null; |
| 57 | |
| 58 | #[ORM\Column(name: 'ort', type: Types::STRING, length: 40, nullable: true)] |
| 59 | private ?string $ort = null; |
| 60 | |
| 61 | #[ORM\Column(name: 'plz', type: Types::STRING, length: 9, nullable: true)] |
| 62 | private ?string $plz = null; |
| 63 | |
| 64 | #[ORM\Column(name: 'postanschrift', type: Types::TEXT, nullable: true)] |
| 65 | private ?string $postanschrift = null; |
| 66 | |
| 67 | #[ORM\Column(name: 'serienbriefsperre', type: Types::STRING, length: 1, nullable: true)] |
| 68 | private ?string $serienbriefsperre = null; |
| 69 | |
| 70 | #[ORM\Column(name: 'serienemailsperre', type: Types::STRING, length: 1, nullable: true)] |
| 71 | private ?string $serienemailsperre = null; |
| 72 | |
| 73 | #[ORM\Column(name: 'strasse', type: Types::STRING, length: 40, nullable: true)] |
| 74 | private ?string $strasse = null; |
| 75 | |
| 76 | #[ORM\Column(name: 'telefon1', type: Types::STRING, length: 30, nullable: true)] |
| 77 | private ?string $telefon1 = null; |
| 78 | |
| 79 | #[ORM\Column(name: 'telefon2', type: Types::STRING, length: 30, nullable: true)] |
| 80 | private ?string $telefon2 = null; |
| 81 | |
| 82 | #[ORM\Column(name: 'telefon3', type: Types::STRING, length: 30, nullable: true)] |
| 83 | private ?string $telefon3 = null; |
| 84 | |
| 85 | #[ORM\Column(name: 'telefonakquisesperre', type: Types::STRING, length: 1, nullable: true)] |
| 86 | private ?string $telefonakquisesperre = null; |
| 87 | |
| 88 | #[ORM\Column(name: 'titel', type: Types::STRING, length: 25, nullable: true)] |
| 89 | private ?string $titel = null; |
| 90 | |
| 91 | #[ORM\Column(name: 'umsatz', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 92 | private ?string $umsatz = null; |
| 93 | |
| 94 | #[ORM\Column(name: 'vorname', type: Types::STRING, length: 30, nullable: true)] |
| 95 | private ?string $vorname = null; |
| 96 | |
| 97 | #[ORM\ManyToOne(targetEntity: Werbesessions::class)] |
| 98 | #[ORM\JoinColumn(name: 'werbesessionslfdnr', referencedColumnName: 'lfdnr')] |
| 99 | private ?Werbesessions $werbesessionslfdnr = null; |
| 100 | |
| 101 | public function getAdresselfdnr(): ?Adresse |
| 102 | { |
| 103 | return $this->adresselfdnr; |
| 104 | } |
| 105 | |
| 106 | public function setAdresselfdnr(?Adresse $adresselfdnr): self |
| 107 | { |
| 108 | $this->adresselfdnr = $adresselfdnr; |
| 109 | |
| 110 | return $this; |
| 111 | } |
| 112 | |
| 113 | public function getAnrede(): ?string |
| 114 | { |
| 115 | return $this->anrede; |
| 116 | } |
| 117 | |
| 118 | public function setAnrede(?string $anrede): self |
| 119 | { |
| 120 | $this->anrede = $anrede; |
| 121 | |
| 122 | return $this; |
| 123 | } |
| 124 | |
| 125 | public function getAnsprechlfdnr(): ?Ansprechpartner |
| 126 | { |
| 127 | return $this->ansprechlfdnr; |
| 128 | } |
| 129 | |
| 130 | public function setAnsprechlfdnr(?Ansprechpartner $ansprechlfdnr): self |
| 131 | { |
| 132 | $this->ansprechlfdnr = $ansprechlfdnr; |
| 133 | |
| 134 | return $this; |
| 135 | } |
| 136 | |
| 137 | public function getArt(): ?string |
| 138 | { |
| 139 | return $this->art; |
| 140 | } |
| 141 | |
| 142 | public function setArt(?string $art): self |
| 143 | { |
| 144 | $this->art = $art; |
| 145 | |
| 146 | return $this; |
| 147 | } |
| 148 | |
| 149 | public function getAuftragssperre(): ?string |
| 150 | { |
| 151 | return $this->auftragssperre; |
| 152 | } |
| 153 | |
| 154 | public function setAuftragssperre(?string $auftragssperre): self |
| 155 | { |
| 156 | $this->auftragssperre = $auftragssperre; |
| 157 | |
| 158 | return $this; |
| 159 | } |
| 160 | |
| 161 | public function getEmail(): ?string |
| 162 | { |
| 163 | return $this->email; |
| 164 | } |
| 165 | |
| 166 | public function setEmail(?string $email): self |
| 167 | { |
| 168 | $this->email = $email; |
| 169 | |
| 170 | return $this; |
| 171 | } |
| 172 | |
| 173 | public function getFax(): ?string |
| 174 | { |
| 175 | return $this->fax; |
| 176 | } |
| 177 | |
| 178 | public function setFax(?string $fax): self |
| 179 | { |
| 180 | $this->fax = $fax; |
| 181 | |
| 182 | return $this; |
| 183 | } |
| 184 | |
| 185 | public function getLand(): ?string |
| 186 | { |
| 187 | return $this->land; |
| 188 | } |
| 189 | |
| 190 | public function setLand(?string $land): self |
| 191 | { |
| 192 | $this->land = $land; |
| 193 | |
| 194 | return $this; |
| 195 | } |
| 196 | |
| 197 | public function getLfdnr(): ?int |
| 198 | { |
| 199 | return $this->lfdnr; |
| 200 | } |
| 201 | |
| 202 | public function getName(): ?string |
| 203 | { |
| 204 | return $this->name; |
| 205 | } |
| 206 | |
| 207 | public function setName(?string $name): self |
| 208 | { |
| 209 | $this->name = $name; |
| 210 | |
| 211 | return $this; |
| 212 | } |
| 213 | |
| 214 | public function getName2(): ?string |
| 215 | { |
| 216 | return $this->name2; |
| 217 | } |
| 218 | |
| 219 | public function setName2(?string $name2): self |
| 220 | { |
| 221 | $this->name2 = $name2; |
| 222 | |
| 223 | return $this; |
| 224 | } |
| 225 | |
| 226 | public function getName3(): ?string |
| 227 | { |
| 228 | return $this->name3; |
| 229 | } |
| 230 | |
| 231 | public function setName3(?string $name3): self |
| 232 | { |
| 233 | $this->name3 = $name3; |
| 234 | |
| 235 | return $this; |
| 236 | } |
| 237 | |
| 238 | public function getOrt(): ?string |
| 239 | { |
| 240 | return $this->ort; |
| 241 | } |
| 242 | |
| 243 | public function setOrt(?string $ort): self |
| 244 | { |
| 245 | $this->ort = $ort; |
| 246 | |
| 247 | return $this; |
| 248 | } |
| 249 | |
| 250 | public function getPlz(): ?string |
| 251 | { |
| 252 | return $this->plz; |
| 253 | } |
| 254 | |
| 255 | public function setPlz(?string $plz): self |
| 256 | { |
| 257 | $this->plz = $plz; |
| 258 | |
| 259 | return $this; |
| 260 | } |
| 261 | |
| 262 | public function getPostanschrift(): ?string |
| 263 | { |
| 264 | return $this->postanschrift; |
| 265 | } |
| 266 | |
| 267 | public function setPostanschrift(?string $postanschrift): self |
| 268 | { |
| 269 | $this->postanschrift = $postanschrift; |
| 270 | |
| 271 | return $this; |
| 272 | } |
| 273 | |
| 274 | public function getSerienbriefsperre(): ?string |
| 275 | { |
| 276 | return $this->serienbriefsperre; |
| 277 | } |
| 278 | |
| 279 | public function setSerienbriefsperre(?string $serienbriefsperre): self |
| 280 | { |
| 281 | $this->serienbriefsperre = $serienbriefsperre; |
| 282 | |
| 283 | return $this; |
| 284 | } |
| 285 | |
| 286 | public function getSerienemailsperre(): ?string |
| 287 | { |
| 288 | return $this->serienemailsperre; |
| 289 | } |
| 290 | |
| 291 | public function setSerienemailsperre(?string $serienemailsperre): self |
| 292 | { |
| 293 | $this->serienemailsperre = $serienemailsperre; |
| 294 | |
| 295 | return $this; |
| 296 | } |
| 297 | |
| 298 | public function getStrasse(): ?string |
| 299 | { |
| 300 | return $this->strasse; |
| 301 | } |
| 302 | |
| 303 | public function setStrasse(?string $strasse): self |
| 304 | { |
| 305 | $this->strasse = $strasse; |
| 306 | |
| 307 | return $this; |
| 308 | } |
| 309 | |
| 310 | public function getTelefon1(): ?string |
| 311 | { |
| 312 | return $this->telefon1; |
| 313 | } |
| 314 | |
| 315 | public function setTelefon1(?string $telefon1): self |
| 316 | { |
| 317 | $this->telefon1 = $telefon1; |
| 318 | |
| 319 | return $this; |
| 320 | } |
| 321 | |
| 322 | public function getTelefon2(): ?string |
| 323 | { |
| 324 | return $this->telefon2; |
| 325 | } |
| 326 | |
| 327 | public function setTelefon2(?string $telefon2): self |
| 328 | { |
| 329 | $this->telefon2 = $telefon2; |
| 330 | |
| 331 | return $this; |
| 332 | } |
| 333 | |
| 334 | public function getTelefon3(): ?string |
| 335 | { |
| 336 | return $this->telefon3; |
| 337 | } |
| 338 | |
| 339 | public function setTelefon3(?string $telefon3): self |
| 340 | { |
| 341 | $this->telefon3 = $telefon3; |
| 342 | |
| 343 | return $this; |
| 344 | } |
| 345 | |
| 346 | public function getTelefonakquisesperre(): ?string |
| 347 | { |
| 348 | return $this->telefonakquisesperre; |
| 349 | } |
| 350 | |
| 351 | public function setTelefonakquisesperre(?string $telefonakquisesperre): self |
| 352 | { |
| 353 | $this->telefonakquisesperre = $telefonakquisesperre; |
| 354 | |
| 355 | return $this; |
| 356 | } |
| 357 | |
| 358 | public function getTitel(): ?string |
| 359 | { |
| 360 | return $this->titel; |
| 361 | } |
| 362 | |
| 363 | public function setTitel(?string $titel): self |
| 364 | { |
| 365 | $this->titel = $titel; |
| 366 | |
| 367 | return $this; |
| 368 | } |
| 369 | |
| 370 | public function getUmsatz(): ?string |
| 371 | { |
| 372 | return $this->umsatz; |
| 373 | } |
| 374 | |
| 375 | public function setUmsatz(?string $umsatz): self |
| 376 | { |
| 377 | $this->umsatz = $umsatz; |
| 378 | |
| 379 | return $this; |
| 380 | } |
| 381 | |
| 382 | public function getVorname(): ?string |
| 383 | { |
| 384 | return $this->vorname; |
| 385 | } |
| 386 | |
| 387 | public function setVorname(?string $vorname): self |
| 388 | { |
| 389 | $this->vorname = $vorname; |
| 390 | |
| 391 | return $this; |
| 392 | } |
| 393 | |
| 394 | public function getWerbesessionslfdnr(): ?Werbesessions |
| 395 | { |
| 396 | return $this->werbesessionslfdnr; |
| 397 | } |
| 398 | |
| 399 | public function setWerbesessionslfdnr(?Werbesessions $werbesessionslfdnr): self |
| 400 | { |
| 401 | $this->werbesessionslfdnr = $werbesessionslfdnr; |
| 402 | |
| 403 | return $this; |
| 404 | } |
| 405 | } |