Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
22 / 22 |
|
100.00% |
15 / 15 |
CRAP | |
100.00% |
1 / 1 |
| Mahnpara | |
100.00% |
22 / 22 |
|
100.00% |
15 / 15 |
15 | |
100.00% |
1 / 1 |
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getMahngebuehr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setMahngebuehr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getMahntext | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setMahntext | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getMahntitel | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setMahntitel | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getMahnzinsen | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setMahnzinsen | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getMindestbetrag | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setMindestbetrag | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getNr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setNr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getZahlfrist | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setZahlfrist | |
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: 'MAHNPARA')] |
| 12 | class Mahnpara |
| 13 | { |
| 14 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 15 | #[ORM\Id] |
| 16 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 17 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 18 | public private(set) ?int $lfdnr = null; |
| 19 | |
| 20 | #[ORM\Column(name: 'mahngebuehr', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 21 | private ?string $mahngebuehr = null; |
| 22 | |
| 23 | #[ORM\Column(name: 'mahntext', type: Types::TEXT, nullable: true)] |
| 24 | private ?string $mahntext = null; |
| 25 | |
| 26 | #[ORM\Column(name: 'mahntitel', type: Types::STRING, length: 60, nullable: true)] |
| 27 | private ?string $mahntitel = null; |
| 28 | |
| 29 | #[ORM\Column(name: 'mahnzinsen', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 30 | private ?string $mahnzinsen = null; |
| 31 | |
| 32 | #[ORM\Column(name: 'mindestbetrag', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 33 | private ?string $mindestbetrag = null; |
| 34 | |
| 35 | #[ORM\Column(name: 'nr', type: Types::INTEGER, nullable: false)] |
| 36 | private int $nr; |
| 37 | |
| 38 | #[ORM\Column(name: 'zahlfrist', type: Types::INTEGER, nullable: true)] |
| 39 | private ?int $zahlfrist = null; |
| 40 | |
| 41 | public function getLfdnr(): ?int |
| 42 | { |
| 43 | return $this->lfdnr; |
| 44 | } |
| 45 | |
| 46 | public function getMahngebuehr(): ?string |
| 47 | { |
| 48 | return $this->mahngebuehr; |
| 49 | } |
| 50 | |
| 51 | public function setMahngebuehr(?string $mahngebuehr): self |
| 52 | { |
| 53 | $this->mahngebuehr = $mahngebuehr; |
| 54 | |
| 55 | return $this; |
| 56 | } |
| 57 | |
| 58 | public function getMahntext(): ?string |
| 59 | { |
| 60 | return $this->mahntext; |
| 61 | } |
| 62 | |
| 63 | public function setMahntext(?string $mahntext): self |
| 64 | { |
| 65 | $this->mahntext = $mahntext; |
| 66 | |
| 67 | return $this; |
| 68 | } |
| 69 | |
| 70 | public function getMahntitel(): ?string |
| 71 | { |
| 72 | return $this->mahntitel; |
| 73 | } |
| 74 | |
| 75 | public function setMahntitel(?string $mahntitel): self |
| 76 | { |
| 77 | $this->mahntitel = $mahntitel; |
| 78 | |
| 79 | return $this; |
| 80 | } |
| 81 | |
| 82 | public function getMahnzinsen(): ?string |
| 83 | { |
| 84 | return $this->mahnzinsen; |
| 85 | } |
| 86 | |
| 87 | public function setMahnzinsen(?string $mahnzinsen): self |
| 88 | { |
| 89 | $this->mahnzinsen = $mahnzinsen; |
| 90 | |
| 91 | return $this; |
| 92 | } |
| 93 | |
| 94 | public function getMindestbetrag(): ?string |
| 95 | { |
| 96 | return $this->mindestbetrag; |
| 97 | } |
| 98 | |
| 99 | public function setMindestbetrag(?string $mindestbetrag): self |
| 100 | { |
| 101 | $this->mindestbetrag = $mindestbetrag; |
| 102 | |
| 103 | return $this; |
| 104 | } |
| 105 | |
| 106 | public function getNr(): int |
| 107 | { |
| 108 | return $this->nr; |
| 109 | } |
| 110 | |
| 111 | public function setNr(int $nr): self |
| 112 | { |
| 113 | $this->nr = $nr; |
| 114 | |
| 115 | return $this; |
| 116 | } |
| 117 | |
| 118 | public function getZahlfrist(): ?int |
| 119 | { |
| 120 | return $this->zahlfrist; |
| 121 | } |
| 122 | |
| 123 | public function setZahlfrist(?int $zahlfrist): self |
| 124 | { |
| 125 | $this->zahlfrist = $zahlfrist; |
| 126 | |
| 127 | return $this; |
| 128 | } |
| 129 | } |