Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
16 / 16 |
|
100.00% |
11 / 11 |
CRAP | |
100.00% |
1 / 1 |
| Druckformularprinter | |
100.00% |
16 / 16 |
|
100.00% |
11 / 11 |
11 | |
100.00% |
1 / 1 |
| getBenutzerlfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBenutzerlfdnr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getDruckformularlfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setDruckformularlfdnr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getLlprint | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setLlprint | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getOptionen | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setOptionen | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getTreiber | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setTreiber | |
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: 'DRUCKFORMULARPRINTER')] |
| 12 | #[ORM\Index(columns: ['benutzerlfdnr'], name: 'DRUCKFORMULARPRINTER_BNLFDNR_FK')] |
| 13 | #[ORM\Index(columns: ['druckformularlfdnr'], name: 'DRUCKFORMULARPRINTER_DFLFDNR_FK')] |
| 14 | class Druckformularprinter |
| 15 | { |
| 16 | #[ORM\ManyToOne(targetEntity: Benutzer::class)] |
| 17 | #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')] |
| 18 | private ?Benutzer $benutzerlfdnr = null; |
| 19 | |
| 20 | #[ORM\ManyToOne(targetEntity: Druckformular::class)] |
| 21 | #[ORM\JoinColumn(name: 'druckformularlfdnr', referencedColumnName: 'lfdnr')] |
| 22 | private ?Druckformular $druckformularlfdnr = null; |
| 23 | |
| 24 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 25 | #[ORM\Id] |
| 26 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 27 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 28 | public private(set) ?int $lfdnr = null; |
| 29 | |
| 30 | #[ORM\Column(name: 'llprint', type: 'blob_base64', nullable: true)] |
| 31 | private ?string $llprint = null; |
| 32 | |
| 33 | #[ORM\Column(name: 'optionen', type: 'blob_base64', nullable: true)] |
| 34 | private ?string $optionen = null; |
| 35 | |
| 36 | #[ORM\Column(name: 'treiber', type: Types::STRING, length: 50, nullable: true)] |
| 37 | private ?string $treiber = null; |
| 38 | |
| 39 | public function getBenutzerlfdnr(): ?Benutzer |
| 40 | { |
| 41 | return $this->benutzerlfdnr; |
| 42 | } |
| 43 | |
| 44 | public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self |
| 45 | { |
| 46 | $this->benutzerlfdnr = $benutzerlfdnr; |
| 47 | |
| 48 | return $this; |
| 49 | } |
| 50 | |
| 51 | public function getDruckformularlfdnr(): ?Druckformular |
| 52 | { |
| 53 | return $this->druckformularlfdnr; |
| 54 | } |
| 55 | |
| 56 | public function setDruckformularlfdnr(?Druckformular $druckformularlfdnr): self |
| 57 | { |
| 58 | $this->druckformularlfdnr = $druckformularlfdnr; |
| 59 | |
| 60 | return $this; |
| 61 | } |
| 62 | |
| 63 | public function getLfdnr(): ?int |
| 64 | { |
| 65 | return $this->lfdnr; |
| 66 | } |
| 67 | |
| 68 | public function getLlprint(): ?string |
| 69 | { |
| 70 | return $this->llprint; |
| 71 | } |
| 72 | |
| 73 | public function setLlprint(?string $llprint): self |
| 74 | { |
| 75 | $this->llprint = $llprint; |
| 76 | |
| 77 | return $this; |
| 78 | } |
| 79 | |
| 80 | public function getOptionen(): ?string |
| 81 | { |
| 82 | return $this->optionen; |
| 83 | } |
| 84 | |
| 85 | public function setOptionen(?string $optionen): self |
| 86 | { |
| 87 | $this->optionen = $optionen; |
| 88 | |
| 89 | return $this; |
| 90 | } |
| 91 | |
| 92 | public function getTreiber(): ?string |
| 93 | { |
| 94 | return $this->treiber; |
| 95 | } |
| 96 | |
| 97 | public function setTreiber(?string $treiber): self |
| 98 | { |
| 99 | $this->treiber = $treiber; |
| 100 | |
| 101 | return $this; |
| 102 | } |
| 103 | } |