Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
10 / 10 |
|
100.00% |
7 / 7 |
CRAP | |
100.00% |
1 / 1 |
| Fibukontenplanbaumzuord | |
100.00% |
10 / 10 |
|
100.00% |
7 / 7 |
7 | |
100.00% |
1 / 1 |
| getKonto | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setKonto | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getVaterkategorie | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setVaterkategorie | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getWj | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setWj | |
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 | use Satag\AmicronEntityBundle\Traits\BlameableEntity; |
| 10 | use Satag\AmicronEntityBundle\Traits\BlameableEntityInterface; |
| 11 | |
| 12 | #[ORM\Entity] |
| 13 | #[ORM\Table(name: 'FIBUKONTENPLANBAUMZUORD')] |
| 14 | class Fibukontenplanbaumzuord implements BlameableEntityInterface |
| 15 | { |
| 16 | use BlameableEntity; |
| 17 | |
| 18 | #[ORM\Column(name: 'konto', type: Types::INTEGER, nullable: true)] |
| 19 | private ?int $konto = 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\Column(name: 'vaterkategorie', type: Types::INTEGER, nullable: true)] |
| 28 | private ?int $vaterkategorie = null; |
| 29 | |
| 30 | #[ORM\Column(name: 'wj', type: Types::INTEGER, nullable: true)] |
| 31 | private ?int $wj = null; |
| 32 | |
| 33 | public function getKonto(): ?int |
| 34 | { |
| 35 | return $this->konto; |
| 36 | } |
| 37 | |
| 38 | public function setKonto(?int $konto): self |
| 39 | { |
| 40 | $this->konto = $konto; |
| 41 | |
| 42 | return $this; |
| 43 | } |
| 44 | |
| 45 | public function getLfdnr(): ?int |
| 46 | { |
| 47 | return $this->lfdnr; |
| 48 | } |
| 49 | |
| 50 | public function getVaterkategorie(): ?int |
| 51 | { |
| 52 | return $this->vaterkategorie; |
| 53 | } |
| 54 | |
| 55 | public function setVaterkategorie(?int $vaterkategorie): self |
| 56 | { |
| 57 | $this->vaterkategorie = $vaterkategorie; |
| 58 | |
| 59 | return $this; |
| 60 | } |
| 61 | |
| 62 | public function getWj(): ?int |
| 63 | { |
| 64 | return $this->wj; |
| 65 | } |
| 66 | |
| 67 | public function setWj(?int $wj): self |
| 68 | { |
| 69 | $this->wj = $wj; |
| 70 | |
| 71 | return $this; |
| 72 | } |
| 73 | } |