Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
43 / 43 |
|
100.00% |
29 / 29 |
CRAP | |
100.00% |
1 / 1 |
| Zahlweise | |
100.00% |
43 / 43 |
|
100.00% |
29 / 29 |
30 | |
100.00% |
1 / 1 |
| getAbmahnstufe | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAbmahnstufe | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAtrfusstext | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAtrfusstext | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getBarrechnung | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBarrechnung | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getBstfusstext | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBstfusstext | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFirmenlastschrift | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFirmenlastschrift | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getGeaendertam | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setGeaendertam | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
2 | |||
| getGeaendertvon | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setGeaendertvon | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getGeldkto | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setGeldkto | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getImmahnlaufberuecksichtigen | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setImmahnlaufberuecksichtigen | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getNachnahme | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setNachnahme | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSepalaverkuerzt | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSepalaverkuerzt | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSepazahlweise | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSepazahlweise | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getErechnungtypecode | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setErechnungtypecode | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getZahlweise | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setZahlweise | |
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: 'ZAHLWEISE')] |
| 12 | #[ORM\UniqueConstraint(name: 'ZAHLWEISE_UK', columns: ['zahlweise'])] |
| 13 | class Zahlweise |
| 14 | { |
| 15 | #[ORM\Column(name: 'abmahnstufe', type: Types::INTEGER, nullable: true)] |
| 16 | private ?int $abmahnstufe = null; |
| 17 | |
| 18 | #[ORM\Column(name: 'atrfusstext', type: Types::TEXT, nullable: true)] |
| 19 | private ?string $atrfusstext = null; |
| 20 | |
| 21 | #[ORM\Column(name: 'barrechnung', type: Types::INTEGER, nullable: true)] |
| 22 | private ?int $barrechnung = null; |
| 23 | |
| 24 | #[ORM\Column(name: 'bstfusstext', type: Types::TEXT, nullable: true)] |
| 25 | private ?string $bstfusstext = null; |
| 26 | |
| 27 | #[ORM\Column(name: 'firmenlastschrift', type: Types::INTEGER, nullable: true)] |
| 28 | private ?int $firmenlastschrift = null; |
| 29 | |
| 30 | #[ORM\Column(name: 'geaendertam', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 31 | private ?\DateTimeImmutable $geaendertam = null; |
| 32 | |
| 33 | #[ORM\Column(name: 'geaendertvon', type: Types::STRING, length: 3, nullable: true)] |
| 34 | private ?string $geaendertvon = null; |
| 35 | |
| 36 | #[ORM\Column(name: 'geldkto', type: Types::STRING, length: 6, nullable: true)] |
| 37 | private ?string $geldkto = null; |
| 38 | |
| 39 | #[ORM\Column(name: 'immahnlaufberuecksichtigen', type: Types::INTEGER, nullable: true)] |
| 40 | private ?int $immahnlaufberuecksichtigen = null; |
| 41 | |
| 42 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 43 | #[ORM\Id] |
| 44 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 45 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 46 | public private(set) ?int $lfdnr = null; |
| 47 | |
| 48 | #[ORM\Column(name: 'nachnahme', type: Types::INTEGER, nullable: true)] |
| 49 | private ?int $nachnahme = null; |
| 50 | |
| 51 | #[ORM\Column(name: 'sepalaverkuerzt', type: Types::INTEGER, nullable: true)] |
| 52 | private ?int $sepalaverkuerzt = null; |
| 53 | |
| 54 | #[ORM\Column(name: 'sepazahlweise', type: Types::INTEGER, nullable: true)] |
| 55 | private ?int $sepazahlweise = null; |
| 56 | |
| 57 | #[ORM\Column(name: 'erechnungtypecode', type: Types::STRING, length: 3, nullable: true)] |
| 58 | private ?string $erechnungtypecode = null; |
| 59 | |
| 60 | #[ORM\Column(name: 'zahlweise', type: Types::STRING, length: 25, nullable: false)] |
| 61 | private string $zahlweise; |
| 62 | |
| 63 | public function getAbmahnstufe(): ?int |
| 64 | { |
| 65 | return $this->abmahnstufe; |
| 66 | } |
| 67 | |
| 68 | public function setAbmahnstufe(?int $abmahnstufe): self |
| 69 | { |
| 70 | $this->abmahnstufe = $abmahnstufe; |
| 71 | |
| 72 | return $this; |
| 73 | } |
| 74 | |
| 75 | public function getAtrfusstext(): ?string |
| 76 | { |
| 77 | return $this->atrfusstext; |
| 78 | } |
| 79 | |
| 80 | public function setAtrfusstext(?string $atrfusstext): self |
| 81 | { |
| 82 | $this->atrfusstext = $atrfusstext; |
| 83 | |
| 84 | return $this; |
| 85 | } |
| 86 | |
| 87 | public function getBarrechnung(): ?int |
| 88 | { |
| 89 | return $this->barrechnung; |
| 90 | } |
| 91 | |
| 92 | public function setBarrechnung(?int $barrechnung): self |
| 93 | { |
| 94 | $this->barrechnung = $barrechnung; |
| 95 | |
| 96 | return $this; |
| 97 | } |
| 98 | |
| 99 | public function getBstfusstext(): ?string |
| 100 | { |
| 101 | return $this->bstfusstext; |
| 102 | } |
| 103 | |
| 104 | public function setBstfusstext(?string $bstfusstext): self |
| 105 | { |
| 106 | $this->bstfusstext = $bstfusstext; |
| 107 | |
| 108 | return $this; |
| 109 | } |
| 110 | |
| 111 | public function getFirmenlastschrift(): ?int |
| 112 | { |
| 113 | return $this->firmenlastschrift; |
| 114 | } |
| 115 | |
| 116 | public function setFirmenlastschrift(?int $firmenlastschrift): self |
| 117 | { |
| 118 | $this->firmenlastschrift = $firmenlastschrift; |
| 119 | |
| 120 | return $this; |
| 121 | } |
| 122 | |
| 123 | public function getGeaendertam(): ?\DateTimeImmutable |
| 124 | { |
| 125 | return $this->geaendertam; |
| 126 | } |
| 127 | |
| 128 | public function setGeaendertam(\DateTimeImmutable|\DateTime|null $geaendertam): static |
| 129 | { |
| 130 | $this->geaendertam = $geaendertam instanceof \DateTime ? \DateTimeImmutable::createFromMutable($geaendertam) : $geaendertam; |
| 131 | |
| 132 | return $this; |
| 133 | } |
| 134 | |
| 135 | public function getGeaendertvon(): ?string |
| 136 | { |
| 137 | return $this->geaendertvon; |
| 138 | } |
| 139 | |
| 140 | public function setGeaendertvon(?string $geaendertvon): static |
| 141 | { |
| 142 | $this->geaendertvon = $geaendertvon; |
| 143 | |
| 144 | return $this; |
| 145 | } |
| 146 | |
| 147 | public function getGeldkto(): ?string |
| 148 | { |
| 149 | return $this->geldkto; |
| 150 | } |
| 151 | |
| 152 | public function setGeldkto(?string $geldkto): self |
| 153 | { |
| 154 | $this->geldkto = $geldkto; |
| 155 | |
| 156 | return $this; |
| 157 | } |
| 158 | |
| 159 | public function getImmahnlaufberuecksichtigen(): ?int |
| 160 | { |
| 161 | return $this->immahnlaufberuecksichtigen; |
| 162 | } |
| 163 | |
| 164 | public function setImmahnlaufberuecksichtigen(?int $immahnlaufberuecksichtigen): self |
| 165 | { |
| 166 | $this->immahnlaufberuecksichtigen = $immahnlaufberuecksichtigen; |
| 167 | |
| 168 | return $this; |
| 169 | } |
| 170 | |
| 171 | public function getLfdnr(): ?int |
| 172 | { |
| 173 | return $this->lfdnr; |
| 174 | } |
| 175 | |
| 176 | public function getNachnahme(): ?int |
| 177 | { |
| 178 | return $this->nachnahme; |
| 179 | } |
| 180 | |
| 181 | public function setNachnahme(?int $nachnahme): self |
| 182 | { |
| 183 | $this->nachnahme = $nachnahme; |
| 184 | |
| 185 | return $this; |
| 186 | } |
| 187 | |
| 188 | public function getSepalaverkuerzt(): ?int |
| 189 | { |
| 190 | return $this->sepalaverkuerzt; |
| 191 | } |
| 192 | |
| 193 | public function setSepalaverkuerzt(?int $sepalaverkuerzt): self |
| 194 | { |
| 195 | $this->sepalaverkuerzt = $sepalaverkuerzt; |
| 196 | |
| 197 | return $this; |
| 198 | } |
| 199 | |
| 200 | public function getSepazahlweise(): ?int |
| 201 | { |
| 202 | return $this->sepazahlweise; |
| 203 | } |
| 204 | |
| 205 | public function setSepazahlweise(?int $sepazahlweise): self |
| 206 | { |
| 207 | $this->sepazahlweise = $sepazahlweise; |
| 208 | |
| 209 | return $this; |
| 210 | } |
| 211 | |
| 212 | public function getErechnungtypecode(): ?string |
| 213 | { |
| 214 | return $this->erechnungtypecode; |
| 215 | } |
| 216 | |
| 217 | public function setErechnungtypecode(?string $erechnungtypecode): self |
| 218 | { |
| 219 | $this->erechnungtypecode = $erechnungtypecode; |
| 220 | |
| 221 | return $this; |
| 222 | } |
| 223 | |
| 224 | public function getZahlweise(): string |
| 225 | { |
| 226 | return $this->zahlweise; |
| 227 | } |
| 228 | |
| 229 | public function setZahlweise(string $zahlweise): self |
| 230 | { |
| 231 | $this->zahlweise = $zahlweise; |
| 232 | |
| 233 | return $this; |
| 234 | } |
| 235 | } |