Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
96.00% covered (success)
96.00%
48 / 50
93.55% covered (success)
93.55%
29 / 31
CRAP
0.00% covered (danger)
0.00%
0 / 1
Stsatzland
96.00% covered (success)
96.00%
48 / 50
93.55% covered (success)
93.55%
29 / 31
33
0.00% covered (danger)
0.00%
0 / 1
 getBezeichnung
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setBezeichnung
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getErhalteneanzahlungkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setErhalteneanzahlungkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getErloeskto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setErloeskto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getGestellteanzahlungkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setGestellteanzahlungkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getGueltigab
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setGueltigab
75.00% covered (warning)
75.00%
3 / 4
0.00% covered (danger)
0.00%
0 / 1
2.06
 getGueltigbis
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setGueltigbis
75.00% covered (warning)
75.00%
3 / 4
0.00% covered (danger)
0.00%
0 / 1
2.06
 getKostenkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKostenkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLand
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLand
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfdnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getSktumsstkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setSktumsstkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getSktvorstkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setSktvorstkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getSteuer
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setSteuer
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getStsatzlfdnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setStsatzlfdnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getUmsstkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setUmsstkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getUmsstnichtfaelligkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setUmsstnichtfaelligkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getVorstkto
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setVorstkto
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Satag\AmicronEntityBundle\Entity;
6
7use Doctrine\DBAL\Types\Types;
8use Doctrine\ORM\Mapping as ORM;
9use Satag\AmicronEntityBundle\Traits\BlameableEntity;
10use Satag\AmicronEntityBundle\Traits\BlameableEntityInterface;
11
12#[ORM\Entity]
13#[ORM\Table(name: 'STSATZLAND')]
14#[ORM\Index(columns: ['stsatzlfdnr'], name: 'STSATZLAND_STSATZLFDNR_FK')]
15class Stsatzland implements BlameableEntityInterface
16{
17    use BlameableEntity;
18
19    #[ORM\Column(name: 'bezeichnung', type: Types::STRING, length: 80, nullable: true)]
20    private ?string $bezeichnung = null;
21
22    #[ORM\Column(name: 'erhalteneanzahlungkto', type: Types::STRING, length: 6, nullable: true)]
23    private ?string $erhalteneanzahlungkto = null;
24
25    #[ORM\Column(name: 'erloeskto', type: Types::STRING, length: 6, nullable: true)]
26    private ?string $erloeskto = null;
27
28    #[ORM\Column(name: 'gestellteanzahlungkto', type: Types::STRING, length: 6, nullable: true)]
29    private ?string $gestellteanzahlungkto = null;
30
31    #[ORM\Column(name: 'gueltigab', type: Types::DATETIME_IMMUTABLE, nullable: true)]
32    private ?\DateTimeImmutable $gueltigab = null;
33
34    #[ORM\Column(name: 'gueltigbis', type: Types::DATETIME_IMMUTABLE, nullable: true)]
35    private ?\DateTimeImmutable $gueltigbis = null;
36
37    #[ORM\Column(name: 'kostenkto', type: Types::STRING, length: 6, nullable: true)]
38    private ?string $kostenkto = null;
39
40    #[ORM\Column(name: 'land', type: Types::STRING, length: 3, nullable: true)]
41    private ?string $land = null;
42
43    #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)]
44    #[ORM\Id]
45    #[ORM\GeneratedValue(strategy: 'SEQUENCE')]
46    #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)]
47    public private(set) ?int $lfdnr = null;
48
49    #[ORM\Column(name: 'sktumsstkto', type: Types::STRING, length: 6, nullable: true)]
50    private ?string $sktumsstkto = null;
51
52    #[ORM\Column(name: 'sktvorstkto', type: Types::STRING, length: 6, nullable: true)]
53    private ?string $sktvorstkto = null;
54
55    #[ORM\Column(name: 'steuer', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)]
56    private ?string $steuer = null;
57
58    #[ORM\ManyToOne(targetEntity: Steuersatz::class)]
59    #[ORM\JoinColumn(name: 'stsatzlfdnr', referencedColumnName: 'lfdnr')]
60    private ?Steuersatz $stsatzlfdnr = null;
61
62    #[ORM\Column(name: 'umsstkto', type: Types::STRING, length: 6, nullable: true)]
63    private ?string $umsstkto = null;
64
65    #[ORM\Column(name: 'umsstnichtfaelligkto', type: Types::STRING, length: 6, nullable: true)]
66    private ?string $umsstnichtfaelligkto = null;
67
68    #[ORM\Column(name: 'vorstkto', type: Types::STRING, length: 6, nullable: true)]
69    private ?string $vorstkto = null;
70
71    public function getBezeichnung(): ?string
72    {
73        return $this->bezeichnung;
74    }
75
76    public function setBezeichnung(?string $bezeichnung): self
77    {
78        $this->bezeichnung = $bezeichnung;
79
80        return $this;
81    }
82
83    public function getErhalteneanzahlungkto(): ?string
84    {
85        return $this->erhalteneanzahlungkto;
86    }
87
88    public function setErhalteneanzahlungkto(?string $erhalteneanzahlungkto): self
89    {
90        $this->erhalteneanzahlungkto = $erhalteneanzahlungkto;
91
92        return $this;
93    }
94
95    public function getErloeskto(): ?string
96    {
97        return $this->erloeskto;
98    }
99
100    public function setErloeskto(?string $erloeskto): self
101    {
102        $this->erloeskto = $erloeskto;
103
104        return $this;
105    }
106
107    public function getGestellteanzahlungkto(): ?string
108    {
109        return $this->gestellteanzahlungkto;
110    }
111
112    public function setGestellteanzahlungkto(?string $gestellteanzahlungkto): self
113    {
114        $this->gestellteanzahlungkto = $gestellteanzahlungkto;
115
116        return $this;
117    }
118
119    public function getGueltigab(): ?\DateTimeImmutable
120    {
121        return $this->gueltigab;
122    }
123
124    public function setGueltigab(\DateTimeImmutable|\DateTime|null $gueltigab): self
125    {
126        $this->gueltigab = $gueltigab instanceof \DateTime
127            ? \DateTimeImmutable::createFromMutable($gueltigab)
128            : $gueltigab;
129
130        return $this;
131    }
132
133    public function getGueltigbis(): ?\DateTimeImmutable
134    {
135        return $this->gueltigbis;
136    }
137
138    public function setGueltigbis(\DateTimeImmutable|\DateTime|null $gueltigbis): self
139    {
140        $this->gueltigbis = $gueltigbis instanceof \DateTime
141            ? \DateTimeImmutable::createFromMutable($gueltigbis)
142            : $gueltigbis;
143
144        return $this;
145    }
146
147    public function getKostenkto(): ?string
148    {
149        return $this->kostenkto;
150    }
151
152    public function setKostenkto(?string $kostenkto): self
153    {
154        $this->kostenkto = $kostenkto;
155
156        return $this;
157    }
158
159    public function getLand(): ?string
160    {
161        return $this->land;
162    }
163
164    public function setLand(?string $land): self
165    {
166        $this->land = $land;
167
168        return $this;
169    }
170
171    public function getLfdnr(): ?int
172    {
173        return $this->lfdnr;
174    }
175
176    public function getSktumsstkto(): ?string
177    {
178        return $this->sktumsstkto;
179    }
180
181    public function setSktumsstkto(?string $sktumsstkto): self
182    {
183        $this->sktumsstkto = $sktumsstkto;
184
185        return $this;
186    }
187
188    public function getSktvorstkto(): ?string
189    {
190        return $this->sktvorstkto;
191    }
192
193    public function setSktvorstkto(?string $sktvorstkto): self
194    {
195        $this->sktvorstkto = $sktvorstkto;
196
197        return $this;
198    }
199
200    public function getSteuer(): ?string
201    {
202        return $this->steuer;
203    }
204
205    public function setSteuer(?string $steuer): self
206    {
207        $this->steuer = $steuer;
208
209        return $this;
210    }
211
212    public function getStsatzlfdnr(): ?Steuersatz
213    {
214        return $this->stsatzlfdnr;
215    }
216
217    public function setStsatzlfdnr(?Steuersatz $stsatzlfdnr): self
218    {
219        $this->stsatzlfdnr = $stsatzlfdnr;
220
221        return $this;
222    }
223
224    public function getUmsstkto(): ?string
225    {
226        return $this->umsstkto;
227    }
228
229    public function setUmsstkto(?string $umsstkto): self
230    {
231        $this->umsstkto = $umsstkto;
232
233        return $this;
234    }
235
236    public function getUmsstnichtfaelligkto(): ?string
237    {
238        return $this->umsstnichtfaelligkto;
239    }
240
241    public function setUmsstnichtfaelligkto(?string $umsstnichtfaelligkto): self
242    {
243        $this->umsstnichtfaelligkto = $umsstnichtfaelligkto;
244
245        return $this;
246    }
247
248    public function getVorstkto(): ?string
249    {
250        return $this->vorstkto;
251    }
252
253    public function setVorstkto(?string $vorstkto): self
254    {
255        $this->vorstkto = $vorstkto;
256
257        return $this;
258    }
259}