Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 56 |
|
0.00% |
0 / 35 |
CRAP | |
0.00% |
0 / 1 |
| Werbeaktionen | |
0.00% |
0 / 56 |
|
0.00% |
0 / 35 |
1406 | |
0.00% |
0 / 1 |
| getAnlass | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAnlass | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getArt | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setArt | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getBemerkung | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBemerkung | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getBenutzerlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBenutzerlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getBezeichnung | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBezeichnung | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getDokument | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDokument | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEmaillfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEmaillfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getIntervall | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setIntervall | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getMediacode | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMediacode | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getOptionen | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setOptionen | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getOrdnerlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setOrdnerlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getProgrammaktion | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setProgrammaktion | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getVorlageam | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setVorlageam | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
| getVorlagefuer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setVorlagefuer | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getZielgruppe | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setZielgruppe | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getZuletztausgefuehrtam | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setZuletztausgefuehrtam | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
| getZuletztausgefuehrtvon | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setZuletztausgefuehrtvon | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| 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: 'WERBEAKTIONEN')] |
| 14 | #[ORM\Index(columns: ['vorlageam'], name: 'WERBEAKTIONEN_VORLAGEAM_DIDX')] |
| 15 | #[ORM\Index(columns: ['benutzerlfdnr'], name: 'WERBEAKTIONEN_BENUTZERLFDNR_FK')] |
| 16 | #[ORM\Index(columns: ['emaillfdnr'], name: 'WERBEAKTIONEN_EMAILLFDNR_FK')] |
| 17 | #[ORM\Index(columns: ['ordnerlfdnr'], name: 'WERBEAKTIONEN_ORDNERLFDNR_FK')] |
| 18 | class Werbeaktionen implements BlameableEntityInterface |
| 19 | { |
| 20 | use BlameableEntity; |
| 21 | |
| 22 | #[ORM\Column(name: 'anlass', type: Types::STRING, length: 60, nullable: true)] |
| 23 | private ?string $anlass = null; |
| 24 | |
| 25 | #[ORM\Column(name: 'art', type: Types::STRING, length: 60, nullable: true)] |
| 26 | private ?string $art = null; |
| 27 | |
| 28 | #[ORM\Column(name: 'bemerkung', type: Types::TEXT, nullable: true)] |
| 29 | private ?string $bemerkung = null; |
| 30 | |
| 31 | #[ORM\ManyToOne(targetEntity: Benutzer::class)] |
| 32 | #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')] |
| 33 | private ?Benutzer $benutzerlfdnr = null; |
| 34 | |
| 35 | #[ORM\Column(name: 'bezeichnung', type: Types::STRING, length: 80, nullable: true)] |
| 36 | private ?string $bezeichnung = null; |
| 37 | |
| 38 | #[ORM\Column(name: 'dokument', type: Types::STRING, length: 255, nullable: true)] |
| 39 | private ?string $dokument = null; |
| 40 | |
| 41 | #[ORM\ManyToOne(targetEntity: Email::class)] |
| 42 | #[ORM\JoinColumn(name: 'emaillfdnr', referencedColumnName: 'lfdnr')] |
| 43 | private ?Email $emaillfdnr = null; |
| 44 | |
| 45 | #[ORM\Column(name: 'intervall', type: Types::STRING, length: 25, nullable: true)] |
| 46 | private ?string $intervall = null; |
| 47 | |
| 48 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 49 | #[ORM\Id] |
| 50 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 51 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 52 | public private(set) ?int $lfdnr = null; |
| 53 | |
| 54 | #[ORM\Column(name: 'mediacode', type: Types::STRING, length: 60, nullable: true)] |
| 55 | private ?string $mediacode = null; |
| 56 | |
| 57 | #[ORM\Column(name: 'optionen', type: Types::TEXT, nullable: true)] |
| 58 | private ?string $optionen = null; |
| 59 | |
| 60 | #[ORM\ManyToOne(targetEntity: Werbeaktionenordner::class)] |
| 61 | #[ORM\JoinColumn(name: 'ordnerlfdnr', referencedColumnName: 'lfdnr')] |
| 62 | private ?Werbeaktionenordner $ordnerlfdnr = null; |
| 63 | |
| 64 | #[ORM\Column(name: 'programmaktion', type: Types::INTEGER, nullable: true)] |
| 65 | private ?int $programmaktion = null; |
| 66 | |
| 67 | #[ORM\Column(name: 'vorlageam', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 68 | private ?\DateTimeImmutable $vorlageam = null; |
| 69 | |
| 70 | #[ORM\Column(name: 'vorlagefuer', type: Types::STRING, length: 3, nullable: true)] |
| 71 | private ?string $vorlagefuer = null; |
| 72 | |
| 73 | #[ORM\Column(name: 'zielgruppe', type: Types::STRING, length: 80, nullable: true)] |
| 74 | private ?string $zielgruppe = null; |
| 75 | |
| 76 | #[ORM\Column(name: 'zuletztausgefuehrtam', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 77 | private ?\DateTimeImmutable $zuletztausgefuehrtam = null; |
| 78 | |
| 79 | #[ORM\Column(name: 'zuletztausgefuehrtvon', type: Types::STRING, length: 3, nullable: true)] |
| 80 | private ?string $zuletztausgefuehrtvon = null; |
| 81 | |
| 82 | public function getAnlass(): ?string |
| 83 | { |
| 84 | return $this->anlass; |
| 85 | } |
| 86 | |
| 87 | public function setAnlass(?string $anlass): self |
| 88 | { |
| 89 | $this->anlass = $anlass; |
| 90 | |
| 91 | return $this; |
| 92 | } |
| 93 | |
| 94 | public function getArt(): ?string |
| 95 | { |
| 96 | return $this->art; |
| 97 | } |
| 98 | |
| 99 | public function setArt(?string $art): self |
| 100 | { |
| 101 | $this->art = $art; |
| 102 | |
| 103 | return $this; |
| 104 | } |
| 105 | |
| 106 | public function getBemerkung(): ?string |
| 107 | { |
| 108 | return $this->bemerkung; |
| 109 | } |
| 110 | |
| 111 | public function setBemerkung(?string $bemerkung): self |
| 112 | { |
| 113 | $this->bemerkung = $bemerkung; |
| 114 | |
| 115 | return $this; |
| 116 | } |
| 117 | |
| 118 | public function getBenutzerlfdnr(): ?Benutzer |
| 119 | { |
| 120 | return $this->benutzerlfdnr; |
| 121 | } |
| 122 | |
| 123 | public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self |
| 124 | { |
| 125 | $this->benutzerlfdnr = $benutzerlfdnr; |
| 126 | |
| 127 | return $this; |
| 128 | } |
| 129 | |
| 130 | public function getBezeichnung(): ?string |
| 131 | { |
| 132 | return $this->bezeichnung; |
| 133 | } |
| 134 | |
| 135 | public function setBezeichnung(?string $bezeichnung): self |
| 136 | { |
| 137 | $this->bezeichnung = $bezeichnung; |
| 138 | |
| 139 | return $this; |
| 140 | } |
| 141 | |
| 142 | public function getDokument(): ?string |
| 143 | { |
| 144 | return $this->dokument; |
| 145 | } |
| 146 | |
| 147 | public function setDokument(?string $dokument): self |
| 148 | { |
| 149 | $this->dokument = $dokument; |
| 150 | |
| 151 | return $this; |
| 152 | } |
| 153 | |
| 154 | public function getEmaillfdnr(): ?Email |
| 155 | { |
| 156 | return $this->emaillfdnr; |
| 157 | } |
| 158 | |
| 159 | public function setEmaillfdnr(?Email $emaillfdnr): self |
| 160 | { |
| 161 | $this->emaillfdnr = $emaillfdnr; |
| 162 | |
| 163 | return $this; |
| 164 | } |
| 165 | |
| 166 | public function getIntervall(): ?string |
| 167 | { |
| 168 | return $this->intervall; |
| 169 | } |
| 170 | |
| 171 | public function setIntervall(?string $intervall): self |
| 172 | { |
| 173 | $this->intervall = $intervall; |
| 174 | |
| 175 | return $this; |
| 176 | } |
| 177 | |
| 178 | public function getLfdnr(): ?int |
| 179 | { |
| 180 | return $this->lfdnr; |
| 181 | } |
| 182 | |
| 183 | public function getMediacode(): ?string |
| 184 | { |
| 185 | return $this->mediacode; |
| 186 | } |
| 187 | |
| 188 | public function setMediacode(?string $mediacode): self |
| 189 | { |
| 190 | $this->mediacode = $mediacode; |
| 191 | |
| 192 | return $this; |
| 193 | } |
| 194 | |
| 195 | public function getOptionen(): ?string |
| 196 | { |
| 197 | return $this->optionen; |
| 198 | } |
| 199 | |
| 200 | public function setOptionen(?string $optionen): self |
| 201 | { |
| 202 | $this->optionen = $optionen; |
| 203 | |
| 204 | return $this; |
| 205 | } |
| 206 | |
| 207 | public function getOrdnerlfdnr(): ?Werbeaktionenordner |
| 208 | { |
| 209 | return $this->ordnerlfdnr; |
| 210 | } |
| 211 | |
| 212 | public function setOrdnerlfdnr(?Werbeaktionenordner $ordnerlfdnr): self |
| 213 | { |
| 214 | $this->ordnerlfdnr = $ordnerlfdnr; |
| 215 | |
| 216 | return $this; |
| 217 | } |
| 218 | |
| 219 | public function getProgrammaktion(): ?int |
| 220 | { |
| 221 | return $this->programmaktion; |
| 222 | } |
| 223 | |
| 224 | public function setProgrammaktion(?int $programmaktion): self |
| 225 | { |
| 226 | $this->programmaktion = $programmaktion; |
| 227 | |
| 228 | return $this; |
| 229 | } |
| 230 | |
| 231 | public function getVorlageam(): ?\DateTimeImmutable |
| 232 | { |
| 233 | return $this->vorlageam; |
| 234 | } |
| 235 | |
| 236 | public function setVorlageam(\DateTimeImmutable|\DateTime|null $vorlageam): self |
| 237 | { |
| 238 | $this->vorlageam = $vorlageam instanceof \DateTime |
| 239 | ? \DateTimeImmutable::createFromMutable($vorlageam) |
| 240 | : $vorlageam; |
| 241 | |
| 242 | return $this; |
| 243 | } |
| 244 | |
| 245 | public function getVorlagefuer(): ?string |
| 246 | { |
| 247 | return $this->vorlagefuer; |
| 248 | } |
| 249 | |
| 250 | public function setVorlagefuer(?string $vorlagefuer): self |
| 251 | { |
| 252 | $this->vorlagefuer = $vorlagefuer; |
| 253 | |
| 254 | return $this; |
| 255 | } |
| 256 | |
| 257 | public function getZielgruppe(): ?string |
| 258 | { |
| 259 | return $this->zielgruppe; |
| 260 | } |
| 261 | |
| 262 | public function setZielgruppe(?string $zielgruppe): self |
| 263 | { |
| 264 | $this->zielgruppe = $zielgruppe; |
| 265 | |
| 266 | return $this; |
| 267 | } |
| 268 | |
| 269 | public function getZuletztausgefuehrtam(): ?\DateTimeImmutable |
| 270 | { |
| 271 | return $this->zuletztausgefuehrtam; |
| 272 | } |
| 273 | |
| 274 | public function setZuletztausgefuehrtam(\DateTimeImmutable|\DateTime|null $zuletztausgefuehrtam): self |
| 275 | { |
| 276 | $this->zuletztausgefuehrtam = $zuletztausgefuehrtam instanceof \DateTime |
| 277 | ? \DateTimeImmutable::createFromMutable($zuletztausgefuehrtam) |
| 278 | : $zuletztausgefuehrtam; |
| 279 | |
| 280 | return $this; |
| 281 | } |
| 282 | |
| 283 | public function getZuletztausgefuehrtvon(): ?string |
| 284 | { |
| 285 | return $this->zuletztausgefuehrtvon; |
| 286 | } |
| 287 | |
| 288 | public function setZuletztausgefuehrtvon(?string $zuletztausgefuehrtvon): self |
| 289 | { |
| 290 | $this->zuletztausgefuehrtvon = $zuletztausgefuehrtvon; |
| 291 | |
| 292 | return $this; |
| 293 | } |
| 294 | } |