Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 10 |
|
0.00% |
0 / 7 |
CRAP | |
0.00% |
0 / 1 |
| Mailkontenfreigabe | |
0.00% |
0 / 10 |
|
0.00% |
0 / 7 |
56 | |
0.00% |
0 / 1 |
| getBenutzerlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBenutzerlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getMailkontenlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMailkontenlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getStandard | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setStandard | |
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: 'MAILKONTENFREIGABE')] |
| 12 | #[ORM\Index(columns: ['benutzerlfdnr'], name: 'MAILKONTENFREIGABE_BENUTZER_FK')] |
| 13 | #[ORM\Index(columns: ['mailkontenlfdnr'], name: 'MAILKONTENFREIGABE_MAILKTN_FK')] |
| 14 | #[ORM\UniqueConstraint(name: 'MAILKONTENFREIGABE_UK', columns: ['benutzerlfdnr', 'mailkontenlfdnr'])] |
| 15 | class Mailkontenfreigabe |
| 16 | { |
| 17 | #[ORM\ManyToOne(targetEntity: Benutzer::class)] |
| 18 | #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')] |
| 19 | private ?Benutzer $benutzerlfdnr = null; |
| 20 | |
| 21 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 22 | #[ORM\Id] |
| 23 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 24 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 25 | public private(set) ?int $lfdnr = null; |
| 26 | |
| 27 | #[ORM\ManyToOne(targetEntity: Mailkonten::class)] |
| 28 | #[ORM\JoinColumn(name: 'mailkontenlfdnr', referencedColumnName: 'lfdnr')] |
| 29 | private ?Mailkonten $mailkontenlfdnr = null; |
| 30 | |
| 31 | #[ORM\Column(name: 'standard', type: Types::INTEGER, nullable: true)] |
| 32 | private ?int $standard = null; |
| 33 | |
| 34 | public function getBenutzerlfdnr(): ?Benutzer |
| 35 | { |
| 36 | return $this->benutzerlfdnr; |
| 37 | } |
| 38 | |
| 39 | public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self |
| 40 | { |
| 41 | $this->benutzerlfdnr = $benutzerlfdnr; |
| 42 | |
| 43 | return $this; |
| 44 | } |
| 45 | |
| 46 | public function getLfdnr(): ?int |
| 47 | { |
| 48 | return $this->lfdnr; |
| 49 | } |
| 50 | |
| 51 | public function getMailkontenlfdnr(): ?Mailkonten |
| 52 | { |
| 53 | return $this->mailkontenlfdnr; |
| 54 | } |
| 55 | |
| 56 | public function setMailkontenlfdnr(?Mailkonten $mailkontenlfdnr): self |
| 57 | { |
| 58 | $this->mailkontenlfdnr = $mailkontenlfdnr; |
| 59 | |
| 60 | return $this; |
| 61 | } |
| 62 | |
| 63 | public function getStandard(): ?int |
| 64 | { |
| 65 | return $this->standard; |
| 66 | } |
| 67 | |
| 68 | public function setStandard(?int $standard): self |
| 69 | { |
| 70 | $this->standard = $standard; |
| 71 | |
| 72 | return $this; |
| 73 | } |
| 74 | } |