Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 13 |
|
0.00% |
0 / 9 |
CRAP | |
0.00% |
0 / 1 |
| Miniquerydisplay | |
0.00% |
0 / 13 |
|
0.00% |
0 / 9 |
90 | |
0.00% |
0 / 1 |
| getBenutzerlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBenutzerlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getDisplaymode | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDisplaymode | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getMiniquerieslfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMiniquerieslfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getPos | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setPos | |
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: 'MINIQUERYDISPLAY')] |
| 14 | #[ORM\Index(columns: ['benutzerlfdnr'], name: 'MINIQUERYDISPLAY_BENLFDNR_FK')] |
| 15 | #[ORM\Index(columns: ['miniquerieslfdnr'], name: 'MINIQUERYDISPLAY_MQLFDNR_FK')] |
| 16 | class Miniquerydisplay implements BlameableEntityInterface |
| 17 | { |
| 18 | use BlameableEntity; |
| 19 | |
| 20 | #[ORM\ManyToOne(targetEntity: Benutzer::class)] |
| 21 | #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')] |
| 22 | private ?Benutzer $benutzerlfdnr = null; |
| 23 | |
| 24 | #[ORM\Column(name: 'displaymode', type: Types::INTEGER, nullable: true)] |
| 25 | private ?int $displaymode = null; |
| 26 | |
| 27 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 28 | #[ORM\Id] |
| 29 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 30 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 31 | public private(set) ?int $lfdnr = null; |
| 32 | |
| 33 | #[ORM\ManyToOne(targetEntity: Miniqueries::class)] |
| 34 | #[ORM\JoinColumn(name: 'miniquerieslfdnr', referencedColumnName: 'lfdnr')] |
| 35 | private ?Miniqueries $miniquerieslfdnr = null; |
| 36 | |
| 37 | #[ORM\Column(name: 'pos', type: Types::INTEGER, nullable: true)] |
| 38 | private ?int $pos = null; |
| 39 | |
| 40 | public function getBenutzerlfdnr(): ?Benutzer |
| 41 | { |
| 42 | return $this->benutzerlfdnr; |
| 43 | } |
| 44 | |
| 45 | public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self |
| 46 | { |
| 47 | $this->benutzerlfdnr = $benutzerlfdnr; |
| 48 | |
| 49 | return $this; |
| 50 | } |
| 51 | |
| 52 | public function getDisplaymode(): ?int |
| 53 | { |
| 54 | return $this->displaymode; |
| 55 | } |
| 56 | |
| 57 | public function setDisplaymode(?int $displaymode): self |
| 58 | { |
| 59 | $this->displaymode = $displaymode; |
| 60 | |
| 61 | return $this; |
| 62 | } |
| 63 | |
| 64 | public function getLfdnr(): ?int |
| 65 | { |
| 66 | return $this->lfdnr; |
| 67 | } |
| 68 | |
| 69 | public function getMiniquerieslfdnr(): ?Miniqueries |
| 70 | { |
| 71 | return $this->miniquerieslfdnr; |
| 72 | } |
| 73 | |
| 74 | public function setMiniquerieslfdnr(?Miniqueries $miniquerieslfdnr): self |
| 75 | { |
| 76 | $this->miniquerieslfdnr = $miniquerieslfdnr; |
| 77 | |
| 78 | return $this; |
| 79 | } |
| 80 | |
| 81 | public function getPos(): ?int |
| 82 | { |
| 83 | return $this->pos; |
| 84 | } |
| 85 | |
| 86 | public function setPos(?int $pos): self |
| 87 | { |
| 88 | $this->pos = $pos; |
| 89 | |
| 90 | return $this; |
| 91 | } |
| 92 | } |