Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
19 / 19 |
|
100.00% |
13 / 13 |
CRAP | |
100.00% |
1 / 1 |
| Externekalender | |
100.00% |
19 / 19 |
|
100.00% |
13 / 13 |
13 | |
100.00% |
1 / 1 |
| getAbonnement | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAbonnement | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAuthschluessel | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAuthschluessel | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getBenutzerlfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBenutzerlfdnr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getBenutzername | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBenutzername | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getPasswort | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setPasswort | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getProtokoll | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setProtokoll | |
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: 'EXTERNEKALENDER')] |
| 12 | #[ORM\Index(columns: ['protokoll'], name: 'EXTERNEKALENDER_PROTOKOLL_IDX')] |
| 13 | #[ORM\Index(columns: ['benutzerlfdnr'], name: 'EXTERNEKALENDER_BENUTZER_FK')] |
| 14 | class Externekalender |
| 15 | { |
| 16 | #[ORM\Column(name: 'abonnement', type: Types::TEXT, nullable: true)] |
| 17 | private ?string $abonnement = null; |
| 18 | |
| 19 | #[ORM\Column(name: 'authschluessel', type: Types::TEXT, nullable: true)] |
| 20 | private ?string $authschluessel = null; |
| 21 | |
| 22 | #[ORM\ManyToOne(targetEntity: Benutzer::class)] |
| 23 | #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')] |
| 24 | private ?Benutzer $benutzerlfdnr = null; |
| 25 | |
| 26 | #[ORM\Column(name: 'benutzername', type: Types::STRING, length: 255, nullable: true)] |
| 27 | private ?string $benutzername = null; |
| 28 | |
| 29 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 30 | #[ORM\Id] |
| 31 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 32 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 33 | public private(set) ?int $lfdnr = null; |
| 34 | |
| 35 | #[ORM\Column(name: 'passwort', type: Types::STRING, length: 255, nullable: true)] |
| 36 | private ?string $passwort = null; |
| 37 | |
| 38 | #[ORM\Column(name: 'protokoll', type: Types::INTEGER, nullable: true)] |
| 39 | private ?int $protokoll = null; |
| 40 | |
| 41 | public function getAbonnement(): ?string |
| 42 | { |
| 43 | return $this->abonnement; |
| 44 | } |
| 45 | |
| 46 | public function setAbonnement(?string $abonnement): self |
| 47 | { |
| 48 | $this->abonnement = $abonnement; |
| 49 | |
| 50 | return $this; |
| 51 | } |
| 52 | |
| 53 | public function getAuthschluessel(): ?string |
| 54 | { |
| 55 | return $this->authschluessel; |
| 56 | } |
| 57 | |
| 58 | public function setAuthschluessel(?string $authschluessel): self |
| 59 | { |
| 60 | $this->authschluessel = $authschluessel; |
| 61 | |
| 62 | return $this; |
| 63 | } |
| 64 | |
| 65 | public function getBenutzerlfdnr(): ?Benutzer |
| 66 | { |
| 67 | return $this->benutzerlfdnr; |
| 68 | } |
| 69 | |
| 70 | public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self |
| 71 | { |
| 72 | $this->benutzerlfdnr = $benutzerlfdnr; |
| 73 | |
| 74 | return $this; |
| 75 | } |
| 76 | |
| 77 | public function getBenutzername(): ?string |
| 78 | { |
| 79 | return $this->benutzername; |
| 80 | } |
| 81 | |
| 82 | public function setBenutzername(?string $benutzername): self |
| 83 | { |
| 84 | $this->benutzername = $benutzername; |
| 85 | |
| 86 | return $this; |
| 87 | } |
| 88 | |
| 89 | public function getLfdnr(): ?int |
| 90 | { |
| 91 | return $this->lfdnr; |
| 92 | } |
| 93 | |
| 94 | public function getPasswort(): ?string |
| 95 | { |
| 96 | return $this->passwort; |
| 97 | } |
| 98 | |
| 99 | public function setPasswort(?string $passwort): self |
| 100 | { |
| 101 | $this->passwort = $passwort; |
| 102 | |
| 103 | return $this; |
| 104 | } |
| 105 | |
| 106 | public function getProtokoll(): ?int |
| 107 | { |
| 108 | return $this->protokoll; |
| 109 | } |
| 110 | |
| 111 | public function setProtokoll(?int $protokoll): self |
| 112 | { |
| 113 | $this->protokoll = $protokoll; |
| 114 | |
| 115 | return $this; |
| 116 | } |
| 117 | } |