Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
22 / 22 |
|
100.00% |
15 / 15 |
CRAP | |
100.00% |
1 / 1 |
| Werbesessions | |
100.00% |
22 / 22 |
|
100.00% |
15 / 15 |
15 | |
100.00% |
1 / 1 |
| getAnzahlauftraege | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAnzahlauftraege | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAnzahlempfaenger | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAnzahlempfaenger | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAnzahlresponse | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAnzahlresponse | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAnzahlretouren | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAnzahlretouren | |
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 | |||
| getBeurteilung | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBeurteilung | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getWerbeaktionenlfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setWerbeaktionenlfdnr | |
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 | use Satag\AmicronEntityBundle\Traits\BlameableEntity; |
| 10 | use Satag\AmicronEntityBundle\Traits\BlameableEntityInterface; |
| 11 | |
| 12 | #[ORM\Entity] |
| 13 | #[ORM\Table(name: 'WERBESESSIONS')] |
| 14 | #[ORM\Index(columns: ['geaendertam'], name: 'WERBESESSIONS_GEANDERTAM_IDX')] |
| 15 | #[ORM\Index(columns: ['werbeaktionenlfdnr'], name: 'WERBESESSIONS_WERBEAKT_FK')] |
| 16 | class Werbesessions implements BlameableEntityInterface |
| 17 | { |
| 18 | use BlameableEntity; |
| 19 | |
| 20 | #[ORM\Column(name: 'anzahlauftraege', type: Types::INTEGER, nullable: true)] |
| 21 | private ?int $anzahlauftraege = null; |
| 22 | |
| 23 | #[ORM\Column(name: 'anzahlempfaenger', type: Types::INTEGER, nullable: true)] |
| 24 | private ?int $anzahlempfaenger = null; |
| 25 | |
| 26 | #[ORM\Column(name: 'anzahlresponse', type: Types::INTEGER, nullable: true)] |
| 27 | private ?int $anzahlresponse = null; |
| 28 | |
| 29 | #[ORM\Column(name: 'anzahlretouren', type: Types::INTEGER, nullable: true)] |
| 30 | private ?int $anzahlretouren = null; |
| 31 | |
| 32 | #[ORM\Column(name: 'bemerkung', type: Types::TEXT, nullable: true)] |
| 33 | private ?string $bemerkung = null; |
| 34 | |
| 35 | #[ORM\Column(name: 'beurteilung', type: Types::INTEGER, nullable: true)] |
| 36 | private ?int $beurteilung = null; |
| 37 | |
| 38 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 39 | #[ORM\Id] |
| 40 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 41 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 42 | public private(set) ?int $lfdnr = null; |
| 43 | |
| 44 | #[ORM\ManyToOne(targetEntity: Werbeaktionen::class)] |
| 45 | #[ORM\JoinColumn(name: 'werbeaktionenlfdnr', referencedColumnName: 'lfdnr')] |
| 46 | private ?Werbeaktionen $werbeaktionenlfdnr = null; |
| 47 | |
| 48 | public function getAnzahlauftraege(): ?int |
| 49 | { |
| 50 | return $this->anzahlauftraege; |
| 51 | } |
| 52 | |
| 53 | public function setAnzahlauftraege(?int $anzahlauftraege): self |
| 54 | { |
| 55 | $this->anzahlauftraege = $anzahlauftraege; |
| 56 | |
| 57 | return $this; |
| 58 | } |
| 59 | |
| 60 | public function getAnzahlempfaenger(): ?int |
| 61 | { |
| 62 | return $this->anzahlempfaenger; |
| 63 | } |
| 64 | |
| 65 | public function setAnzahlempfaenger(?int $anzahlempfaenger): self |
| 66 | { |
| 67 | $this->anzahlempfaenger = $anzahlempfaenger; |
| 68 | |
| 69 | return $this; |
| 70 | } |
| 71 | |
| 72 | public function getAnzahlresponse(): ?int |
| 73 | { |
| 74 | return $this->anzahlresponse; |
| 75 | } |
| 76 | |
| 77 | public function setAnzahlresponse(?int $anzahlresponse): self |
| 78 | { |
| 79 | $this->anzahlresponse = $anzahlresponse; |
| 80 | |
| 81 | return $this; |
| 82 | } |
| 83 | |
| 84 | public function getAnzahlretouren(): ?int |
| 85 | { |
| 86 | return $this->anzahlretouren; |
| 87 | } |
| 88 | |
| 89 | public function setAnzahlretouren(?int $anzahlretouren): self |
| 90 | { |
| 91 | $this->anzahlretouren = $anzahlretouren; |
| 92 | |
| 93 | return $this; |
| 94 | } |
| 95 | |
| 96 | public function getBemerkung(): ?string |
| 97 | { |
| 98 | return $this->bemerkung; |
| 99 | } |
| 100 | |
| 101 | public function setBemerkung(?string $bemerkung): self |
| 102 | { |
| 103 | $this->bemerkung = $bemerkung; |
| 104 | |
| 105 | return $this; |
| 106 | } |
| 107 | |
| 108 | public function getBeurteilung(): ?int |
| 109 | { |
| 110 | return $this->beurteilung; |
| 111 | } |
| 112 | |
| 113 | public function setBeurteilung(?int $beurteilung): self |
| 114 | { |
| 115 | $this->beurteilung = $beurteilung; |
| 116 | |
| 117 | return $this; |
| 118 | } |
| 119 | |
| 120 | public function getLfdnr(): ?int |
| 121 | { |
| 122 | return $this->lfdnr; |
| 123 | } |
| 124 | |
| 125 | public function getWerbeaktionenlfdnr(): ?Werbeaktionen |
| 126 | { |
| 127 | return $this->werbeaktionenlfdnr; |
| 128 | } |
| 129 | |
| 130 | public function setWerbeaktionenlfdnr(?Werbeaktionen $werbeaktionenlfdnr): self |
| 131 | { |
| 132 | $this->werbeaktionenlfdnr = $werbeaktionenlfdnr; |
| 133 | |
| 134 | return $this; |
| 135 | } |
| 136 | } |