Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 52 |
|
0.00% |
0 / 35 |
CRAP | |
0.00% |
0 / 1 |
| KontoauszugZuordnung | |
0.00% |
0 / 52 |
|
0.00% |
0 / 35 |
1260 | |
0.00% |
0 / 1 |
| getAdresse | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAdresse | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getArt | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setArt | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAuftrag | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAuftrag | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAuftragUrsprung | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAuftragUrsprung | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getBeleg | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBeleg | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getBetrag | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBetrag | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayverkauf | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayverkauf | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getGewichtschluessel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setGewichtschluessel | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getGewichtung | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setGewichtung | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKontobuchunglfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKontobuchunglfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setName | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getName2 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setName2 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getOffenerBetrag | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setOffenerBetrag | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getOffenerPosten | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setOffenerPosten | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getOrt | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setOrt | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getTeilbetrag | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTeilbetrag | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getVorname | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setVorname | |
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 | use Satag\AmicronEntityBundle\Traits\DecimalEntity; |
| 12 | |
| 13 | #[ORM\Entity] |
| 14 | #[ORM\Table(name: 'KONTOAUSZUGSZUORD')] |
| 15 | #[ORM\Index(columns: ['adressenlfdnr'], name: 'KONTOAUSZUGSZUORD_ADRESSEN_FK')] |
| 16 | #[ORM\Index(columns: ['auftragursprunglfdnr'], name: 'KONTOAUSZUGSZUORD_ATRURSPR_FK')] |
| 17 | #[ORM\Index(columns: ['auftraglfdnr'], name: 'KONTOAUSZUGSZUORD_AUFTRAG_FK')] |
| 18 | #[ORM\Index(columns: ['ebayverkaeufelfdnr'], name: 'KONTOAUSZUGSZUORD_EBAYVERK_FK')] |
| 19 | #[ORM\Index(columns: ['kontobuchunglfdnr'], name: 'KONTOAUSZUGSZUORD_KONTOBUCH_FK')] |
| 20 | #[ORM\Index(columns: ['offposlfdnr'], name: 'KONTOAUSZUGSZUORD_OFFPOS_FK')] |
| 21 | class KontoauszugZuordnung implements BlameableEntityInterface |
| 22 | { |
| 23 | use BlameableEntity; |
| 24 | use DecimalEntity; |
| 25 | |
| 26 | #[ORM\ManyToOne(targetEntity: Adresse::class)] |
| 27 | #[ORM\JoinColumn(name: 'adressenlfdnr', referencedColumnName: 'lfdnr')] |
| 28 | private ?Adresse $adresse = null; |
| 29 | |
| 30 | /** |
| 31 | * * = automatisch,. |
| 32 | */ |
| 33 | #[ORM\Column(name: 'art', type: Types::STRING, length: 1, nullable: true)] |
| 34 | private ?string $art = null; |
| 35 | |
| 36 | #[ORM\ManyToOne(targetEntity: Auftrag::class)] |
| 37 | #[ORM\JoinColumn(name: 'auftraglfdnr', referencedColumnName: 'lfdnr')] |
| 38 | private ?Auftrag $auftrag = null; |
| 39 | |
| 40 | #[ORM\ManyToOne(targetEntity: Auftrag::class)] |
| 41 | #[ORM\JoinColumn(name: 'auftragursprunglfdnr', referencedColumnName: 'lfdnr')] |
| 42 | private ?Auftrag $auftragUrsprung = null; |
| 43 | |
| 44 | #[ORM\ManyToOne(targetEntity: Beleg::class)] |
| 45 | #[ORM\JoinColumn(name: 'belegelfdnr', referencedColumnName: 'lfdnr')] |
| 46 | private ?Beleg $beleg = null; |
| 47 | |
| 48 | #[ORM\Column(name: 'betrag', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 49 | private ?string $betrag = null; |
| 50 | |
| 51 | #[ORM\ManyToOne(targetEntity: Ebayverkauf::class)] |
| 52 | #[ORM\JoinColumn(name: 'ebayverkaeufelfdnr', referencedColumnName: 'lfdnr')] |
| 53 | private ?Ebayverkauf $ebayverkauf = null; |
| 54 | |
| 55 | #[ORM\Column(name: 'gewichtschluessel', type: Types::TEXT, nullable: true)] |
| 56 | private ?string $gewichtschluessel = null; |
| 57 | |
| 58 | #[ORM\Column(name: 'gewichtung', type: Types::INTEGER, nullable: true)] |
| 59 | private ?int $gewichtung = null; |
| 60 | |
| 61 | #[ORM\ManyToOne(targetEntity: Kontobuchung::class)] |
| 62 | #[ORM\JoinColumn(name: 'kontobuchunglfdnr', referencedColumnName: 'lfdnr')] |
| 63 | private ?Kontobuchung $kontobuchunglfdnr = null; |
| 64 | |
| 65 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 66 | #[ORM\Id] |
| 67 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 68 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 69 | public private(set) ?int $lfdnr = null; |
| 70 | |
| 71 | #[ORM\Column(name: 'name', type: Types::STRING, length: 40, nullable: true)] |
| 72 | private ?string $name = null; |
| 73 | |
| 74 | #[ORM\Column(name: 'name2', type: Types::STRING, length: 50, nullable: true)] |
| 75 | private ?string $name2 = null; |
| 76 | |
| 77 | #[ORM\Column(name: 'offenerbetrag', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 78 | private ?string $offenerBetrag = null; |
| 79 | |
| 80 | #[ORM\ManyToOne(targetEntity: OffenerPosten::class)] |
| 81 | #[ORM\JoinColumn(name: 'offposlfdnr', referencedColumnName: 'lfdnr')] |
| 82 | private ?OffenerPosten $offenerPosten = null; |
| 83 | |
| 84 | #[ORM\Column(name: 'ort', type: Types::STRING, length: 40, nullable: true)] |
| 85 | private ?string $ort = null; |
| 86 | |
| 87 | #[ORM\Column(name: 'teilbetrag', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 88 | private ?string $teilbetrag = null; |
| 89 | |
| 90 | #[ORM\Column(name: 'vorname', type: Types::STRING, length: 30, nullable: true)] |
| 91 | private ?string $vorname = null; |
| 92 | |
| 93 | public function getAdresse(): ?Adresse |
| 94 | { |
| 95 | return $this->adresse; |
| 96 | } |
| 97 | |
| 98 | public function setAdresse(?Adresse $adresse): self |
| 99 | { |
| 100 | $this->adresse = $adresse; |
| 101 | |
| 102 | return $this; |
| 103 | } |
| 104 | |
| 105 | public function getArt(): string |
| 106 | { |
| 107 | return (string) $this->art; |
| 108 | } |
| 109 | |
| 110 | public function setArt(string $art): self |
| 111 | { |
| 112 | $this->art = $art; |
| 113 | |
| 114 | return $this; |
| 115 | } |
| 116 | |
| 117 | public function getAuftrag(): ?Auftrag |
| 118 | { |
| 119 | return $this->auftrag; |
| 120 | } |
| 121 | |
| 122 | public function setAuftrag(?Auftrag $auftrag): self |
| 123 | { |
| 124 | $this->auftrag = $auftrag; |
| 125 | |
| 126 | return $this; |
| 127 | } |
| 128 | |
| 129 | public function getAuftragUrsprung(): ?Auftrag |
| 130 | { |
| 131 | return $this->auftragUrsprung; |
| 132 | } |
| 133 | |
| 134 | public function setAuftragUrsprung(?Auftrag $auftragUrsprung): self |
| 135 | { |
| 136 | $this->auftragUrsprung = $auftragUrsprung; |
| 137 | |
| 138 | return $this; |
| 139 | } |
| 140 | |
| 141 | public function getBeleg(): ?Beleg |
| 142 | { |
| 143 | return $this->beleg; |
| 144 | } |
| 145 | |
| 146 | public function setBeleg(?Beleg $beleg): self |
| 147 | { |
| 148 | $this->beleg = $beleg; |
| 149 | |
| 150 | return $this; |
| 151 | } |
| 152 | |
| 153 | public function getBetrag(): ?string |
| 154 | { |
| 155 | return $this->betrag; |
| 156 | } |
| 157 | |
| 158 | public function setBetrag(?string $betrag): self |
| 159 | { |
| 160 | $this->betrag = $betrag; |
| 161 | |
| 162 | return $this; |
| 163 | } |
| 164 | |
| 165 | public function getEbayverkauf(): ?Ebayverkauf |
| 166 | { |
| 167 | return $this->ebayverkauf; |
| 168 | } |
| 169 | |
| 170 | public function setEbayverkauf(?Ebayverkauf $ebayverkauf): self |
| 171 | { |
| 172 | $this->ebayverkauf = $ebayverkauf; |
| 173 | |
| 174 | return $this; |
| 175 | } |
| 176 | |
| 177 | public function getGewichtschluessel(): string |
| 178 | { |
| 179 | return (string) $this->gewichtschluessel; |
| 180 | } |
| 181 | |
| 182 | public function setGewichtschluessel(string $gewichtschluessel): self |
| 183 | { |
| 184 | $this->gewichtschluessel = $gewichtschluessel; |
| 185 | |
| 186 | return $this; |
| 187 | } |
| 188 | |
| 189 | public function getGewichtung(): ?int |
| 190 | { |
| 191 | return $this->gewichtung; |
| 192 | } |
| 193 | |
| 194 | public function setGewichtung(?int $gewichtung): self |
| 195 | { |
| 196 | $this->gewichtung = $gewichtung; |
| 197 | |
| 198 | return $this; |
| 199 | } |
| 200 | |
| 201 | public function getKontobuchunglfdnr(): ?Kontobuchung |
| 202 | { |
| 203 | return $this->kontobuchunglfdnr; |
| 204 | } |
| 205 | |
| 206 | public function setKontobuchunglfdnr(?Kontobuchung $kontobuchunglfdnr): self |
| 207 | { |
| 208 | $this->kontobuchunglfdnr = $kontobuchunglfdnr; |
| 209 | |
| 210 | return $this; |
| 211 | } |
| 212 | |
| 213 | public function getLfdnr(): ?int |
| 214 | { |
| 215 | return $this->lfdnr; |
| 216 | } |
| 217 | |
| 218 | public function getName(): string |
| 219 | { |
| 220 | return (string) $this->name; |
| 221 | } |
| 222 | |
| 223 | public function setName(string $name): self |
| 224 | { |
| 225 | $this->name = $name; |
| 226 | |
| 227 | return $this; |
| 228 | } |
| 229 | |
| 230 | public function getName2(): string |
| 231 | { |
| 232 | return (string) $this->name2; |
| 233 | } |
| 234 | |
| 235 | public function setName2(string $name2): self |
| 236 | { |
| 237 | $this->name2 = $name2; |
| 238 | |
| 239 | return $this; |
| 240 | } |
| 241 | |
| 242 | public function getOffenerBetrag(): ?string |
| 243 | { |
| 244 | return $this->offenerBetrag; |
| 245 | } |
| 246 | |
| 247 | public function setOffenerBetrag(?string $offenerBetrag): self |
| 248 | { |
| 249 | $this->offenerBetrag = $offenerBetrag; |
| 250 | |
| 251 | return $this; |
| 252 | } |
| 253 | |
| 254 | public function getOffenerPosten(): ?OffenerPosten |
| 255 | { |
| 256 | return $this->offenerPosten; |
| 257 | } |
| 258 | |
| 259 | public function setOffenerPosten(?OffenerPosten $offenerPosten): self |
| 260 | { |
| 261 | $this->offenerPosten = $offenerPosten; |
| 262 | |
| 263 | return $this; |
| 264 | } |
| 265 | |
| 266 | public function getOrt(): string |
| 267 | { |
| 268 | return (string) $this->ort; |
| 269 | } |
| 270 | |
| 271 | public function setOrt(string $ort): self |
| 272 | { |
| 273 | $this->ort = $ort; |
| 274 | |
| 275 | return $this; |
| 276 | } |
| 277 | |
| 278 | public function getTeilbetrag(): ?string |
| 279 | { |
| 280 | return $this->teilbetrag; |
| 281 | } |
| 282 | |
| 283 | public function setTeilbetrag(?string $teilbetrag): self |
| 284 | { |
| 285 | $this->teilbetrag = $teilbetrag; |
| 286 | |
| 287 | return $this; |
| 288 | } |
| 289 | |
| 290 | public function getVorname(): string |
| 291 | { |
| 292 | return (string) $this->vorname; |
| 293 | } |
| 294 | |
| 295 | public function setVorname(string $vorname): self |
| 296 | { |
| 297 | $this->vorname = $vorname; |
| 298 | |
| 299 | return $this; |
| 300 | } |
| 301 | } |