Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 44 |
|
0.00% |
0 / 27 |
CRAP | |
0.00% |
0 / 1 |
| Telereporterprotokoll | |
0.00% |
0 / 44 |
|
0.00% |
0 / 27 |
930 | |
0.00% |
0 / 1 |
| getAdressenlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAdressenlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAngelegtam | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAngelegtam | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
6 | |||
| getAngelegtvon | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAngelegtvon | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAngenommen | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAngenommen | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAnrufart | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAnrufart | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAnsprechlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAnsprechlfdnr | |
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 | |||
| getDatum | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDatum | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
| getDauer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDauer | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
| getKontaktangelegt | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKontaktangelegt | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTelefonnummer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTelefonnummer | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getWeitergeleitet | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setWeitergeleitet | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getZugeordnet | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setZugeordnet | |
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 | |
| 10 | #[ORM\Entity] |
| 11 | #[ORM\Table(name: 'TRPPROTOKOLL')] |
| 12 | #[ORM\Index(columns: ['adressenlfdnr'], name: 'TRPPROTOKOLL_ADRESSENLFDNR_FK')] |
| 13 | #[ORM\Index(columns: ['ansprechlfdnr'], name: 'TRPPROTOKOLL_ANSPRECHLFDNR_FK')] |
| 14 | #[ORM\Index(columns: ['benutzerlfdnr'], name: 'TRPPROTOKOLL_BENUTZERLFDNR_FK')] |
| 15 | class Telereporterprotokoll |
| 16 | { |
| 17 | #[ORM\ManyToOne(targetEntity: Adresse::class)] |
| 18 | #[ORM\JoinColumn(name: 'adressenlfdnr', referencedColumnName: 'lfdnr')] |
| 19 | private ?Adresse $adressenlfdnr = null; |
| 20 | |
| 21 | #[ORM\Column(name: 'angelegtam', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 22 | private ?\DateTimeImmutable $angelegtam = null; |
| 23 | |
| 24 | #[ORM\Column(name: 'angelegtvon', type: Types::STRING, length: 3, nullable: true)] |
| 25 | private ?string $angelegtvon = null; |
| 26 | |
| 27 | #[ORM\Column(name: 'angenommen', type: Types::STRING, length: 1, nullable: true)] |
| 28 | private ?string $angenommen = null; |
| 29 | |
| 30 | #[ORM\Column(name: 'anrufart', type: Types::STRING, length: 1, nullable: true)] |
| 31 | private ?string $anrufart = null; |
| 32 | |
| 33 | #[ORM\ManyToOne(targetEntity: Ansprechpartner::class)] |
| 34 | #[ORM\JoinColumn(name: 'ansprechlfdnr', referencedColumnName: 'lfdnr')] |
| 35 | private ?Ansprechpartner $ansprechlfdnr = null; |
| 36 | |
| 37 | #[ORM\ManyToOne(targetEntity: Benutzer::class)] |
| 38 | #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')] |
| 39 | private ?Benutzer $benutzerlfdnr = null; |
| 40 | |
| 41 | #[ORM\Column(name: 'datum', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 42 | private ?\DateTimeImmutable $datum = null; |
| 43 | |
| 44 | #[ORM\Column(name: 'dauer', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 45 | private ?\DateTimeImmutable $dauer = null; |
| 46 | |
| 47 | #[ORM\Column(name: 'kontaktangelegt', type: Types::STRING, length: 1, nullable: true)] |
| 48 | private ?string $kontaktangelegt = null; |
| 49 | |
| 50 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 51 | #[ORM\Id] |
| 52 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 53 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 54 | public private(set) ?int $lfdnr = null; |
| 55 | |
| 56 | #[ORM\Column(name: 'telefonnummer', type: Types::STRING, length: 25, nullable: true)] |
| 57 | private ?string $telefonnummer = null; |
| 58 | |
| 59 | #[ORM\Column(name: 'weitergeleitet', type: Types::STRING, length: 1, nullable: true)] |
| 60 | private ?string $weitergeleitet = null; |
| 61 | |
| 62 | #[ORM\Column(name: 'zugeordnet', type: Types::STRING, length: 1, nullable: true)] |
| 63 | private ?string $zugeordnet = null; |
| 64 | |
| 65 | public function getAdressenlfdnr(): ?Adresse |
| 66 | { |
| 67 | return $this->adressenlfdnr; |
| 68 | } |
| 69 | |
| 70 | public function setAdressenlfdnr(?Adresse $adressenlfdnr): self |
| 71 | { |
| 72 | $this->adressenlfdnr = $adressenlfdnr; |
| 73 | |
| 74 | return $this; |
| 75 | } |
| 76 | |
| 77 | public function getAngelegtam(): ?\DateTimeImmutable |
| 78 | { |
| 79 | return $this->angelegtam; |
| 80 | } |
| 81 | |
| 82 | public function setAngelegtam(\DateTimeImmutable|\DateTime|null $angelegtam): static |
| 83 | { |
| 84 | $this->angelegtam = $angelegtam instanceof \DateTime ? \DateTimeImmutable::createFromInterface($angelegtam) : $angelegtam; |
| 85 | |
| 86 | return $this; |
| 87 | } |
| 88 | |
| 89 | public function getAngelegtvon(): ?string |
| 90 | { |
| 91 | return $this->angelegtvon; |
| 92 | } |
| 93 | |
| 94 | public function setAngelegtvon(?string $angelegtvon): static |
| 95 | { |
| 96 | $this->angelegtvon = $angelegtvon; |
| 97 | |
| 98 | return $this; |
| 99 | } |
| 100 | |
| 101 | public function getAngenommen(): ?string |
| 102 | { |
| 103 | return $this->angenommen; |
| 104 | } |
| 105 | |
| 106 | public function setAngenommen(?string $angenommen): self |
| 107 | { |
| 108 | $this->angenommen = $angenommen; |
| 109 | |
| 110 | return $this; |
| 111 | } |
| 112 | |
| 113 | public function getAnrufart(): ?string |
| 114 | { |
| 115 | return $this->anrufart; |
| 116 | } |
| 117 | |
| 118 | public function setAnrufart(?string $anrufart): self |
| 119 | { |
| 120 | $this->anrufart = $anrufart; |
| 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 getBenutzerlfdnr(): ?Benutzer |
| 138 | { |
| 139 | return $this->benutzerlfdnr; |
| 140 | } |
| 141 | |
| 142 | public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self |
| 143 | { |
| 144 | $this->benutzerlfdnr = $benutzerlfdnr; |
| 145 | |
| 146 | return $this; |
| 147 | } |
| 148 | |
| 149 | public function getDatum(): ?\DateTimeImmutable |
| 150 | { |
| 151 | return $this->datum; |
| 152 | } |
| 153 | |
| 154 | public function setDatum(\DateTimeImmutable|\DateTime|null $datum): self |
| 155 | { |
| 156 | $this->datum = $datum instanceof \DateTime |
| 157 | ? \DateTimeImmutable::createFromInterface($datum) |
| 158 | : $datum; |
| 159 | |
| 160 | return $this; |
| 161 | } |
| 162 | |
| 163 | public function getDauer(): ?\DateTimeImmutable |
| 164 | { |
| 165 | return $this->dauer; |
| 166 | } |
| 167 | |
| 168 | public function setDauer(\DateTimeImmutable|\DateTime|null $dauer): self |
| 169 | { |
| 170 | $this->dauer = $dauer instanceof \DateTime |
| 171 | ? \DateTimeImmutable::createFromInterface($dauer) |
| 172 | : $dauer; |
| 173 | |
| 174 | return $this; |
| 175 | } |
| 176 | |
| 177 | public function getKontaktangelegt(): ?string |
| 178 | { |
| 179 | return $this->kontaktangelegt; |
| 180 | } |
| 181 | |
| 182 | public function setKontaktangelegt(?string $kontaktangelegt): self |
| 183 | { |
| 184 | $this->kontaktangelegt = $kontaktangelegt; |
| 185 | |
| 186 | return $this; |
| 187 | } |
| 188 | |
| 189 | public function getLfdnr(): ?int |
| 190 | { |
| 191 | return $this->lfdnr; |
| 192 | } |
| 193 | |
| 194 | public function getTelefonnummer(): ?string |
| 195 | { |
| 196 | return $this->telefonnummer; |
| 197 | } |
| 198 | |
| 199 | public function setTelefonnummer(?string $telefonnummer): self |
| 200 | { |
| 201 | $this->telefonnummer = $telefonnummer; |
| 202 | |
| 203 | return $this; |
| 204 | } |
| 205 | |
| 206 | public function getWeitergeleitet(): ?string |
| 207 | { |
| 208 | return $this->weitergeleitet; |
| 209 | } |
| 210 | |
| 211 | public function setWeitergeleitet(?string $weitergeleitet): self |
| 212 | { |
| 213 | $this->weitergeleitet = $weitergeleitet; |
| 214 | |
| 215 | return $this; |
| 216 | } |
| 217 | |
| 218 | public function getZugeordnet(): ?string |
| 219 | { |
| 220 | return $this->zugeordnet; |
| 221 | } |
| 222 | |
| 223 | public function setZugeordnet(?string $zugeordnet): self |
| 224 | { |
| 225 | $this->zugeordnet = $zugeordnet; |
| 226 | |
| 227 | return $this; |
| 228 | } |
| 229 | } |