Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 277 |
|
0.00% |
0 / 138 |
CRAP | |
0.00% |
0 / 1 |
| Importauftrag | |
0.00% |
0 / 277 |
|
0.00% |
0 / 138 |
20022 | |
0.00% |
0 / 1 |
| getBeleg | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBeleg | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| isArchiviert | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setArchiviert | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAnrede | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAnrede | |
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 | |||
| getAtrpositionen | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAtrpositionen | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAuftragid | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAuftragid | |
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 | |||
| getAuftragnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAuftragnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAuftragxmlpos | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAuftragxmlpos | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getBemerkung | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBemerkung | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getDatum | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDatum | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
| getDefdata | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDefdata | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getDefinitiondata | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDefinitiondata | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEndbetrag | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEndbetrag | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getHerkunft | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setHerkunft | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunanrede | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunanrede | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKundennr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKundennr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunemail | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunemail | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunfax | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunfax | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKuninternet | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKuninternet | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunland | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunland | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getAdresse | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setAdresse | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunname | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunname | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunname2 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunname2 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunname3 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunname3 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunort | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunort | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunplz | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunplz | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunstrasse | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunstrasse | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKuntelefon1 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKuntelefon1 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKuntelefon2 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKuntelefon2 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKuntelefon3 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKuntelefon3 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKuntitel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKuntitel | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKunvorname | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setKunvorname | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLand | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLand | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getLfranrede | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfranrede | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfremail | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfremail | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrfax | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrfax | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrinternet | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrinternet | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrland | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrland | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLieferadresse | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLieferadresse | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrname | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrname | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrname2 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrname2 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrname3 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrname3 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrort | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrort | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrplz | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrplz | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrstrasse | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrstrasse | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrtelefon1 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrtelefon1 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrtelefon2 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrtelefon2 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrtelefon3 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrtelefon3 | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrtitel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrtitel | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfrvorname | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLfrvorname | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLieferart | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLieferart | |
0.00% |
0 / 2 |
|
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 | |||
| getName3 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setName3 | |
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 | |||
| getPlz | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setPlz | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getStrasse | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setStrasse | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getTitel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTitel | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| isUebernommen | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setUebernommen | |
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 | |||
| getXmldata | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setXmldata | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| setImportdataXml | |
0.00% |
0 / 70 |
|
0.00% |
0 / 1 |
12 | |||
| getImportauftragdata | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setImportauftragdata | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getXmlid | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setXmlid | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getZahlweise | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setZahlweise | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getBestellnummer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBestellnummer | |
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\Struct\Xml\Import\ImportdataXml; |
| 10 | use Satag\AmicronEntityBundle\Traits\BlameableEntity; |
| 11 | use Satag\AmicronEntityBundle\Traits\DecimalEntity; |
| 12 | use Symfony\Component\Validator\Constraints as Assert; |
| 13 | |
| 14 | #[ORM\Entity] |
| 15 | #[ORM\HasLifecycleCallbacks] |
| 16 | #[ORM\InheritanceType('SINGLE_TABLE')] |
| 17 | #[ORM\DiscriminatorColumn(name: 'ART', type: 'string', length: 1)] |
| 18 | #[ORM\DiscriminatorMap(['A' => 'ImportAuftragkunde', 'B' => 'ImportAuftraglieferant'])] |
| 19 | #[ORM\Table(name: 'IMPAUFTRAG')] |
| 20 | #[ORM\Index(columns: ['auftraglfdnr'], name: 'IMPAUFTRAG_AUFTRAGLFDNR_FK')] |
| 21 | #[ORM\Index(columns: ['defdatalfdnr'], name: 'IMPAUFTRAG_DEFDATALFDNR_FK')] |
| 22 | #[ORM\Index(columns: ['kunlfdnr'], name: 'IMPAUFTRAG_KUNLFDNR_FK')] |
| 23 | #[ORM\Index(columns: ['lfrlfdnr'], name: 'IMPAUFTRAG_LFRLFDNR_FK')] |
| 24 | #[ORM\Index(columns: ['xmldatalfdnr'], name: 'IMPAUFTRAG_XMLDATALFDNR_FK')] |
| 25 | abstract class Importauftrag |
| 26 | { |
| 27 | use BlameableEntity; |
| 28 | use DecimalEntity; |
| 29 | |
| 30 | #[ORM\Column(name: 'anrede', type: Types::STRING, length: 25, nullable: true)] |
| 31 | private ?string $anrede = null; |
| 32 | |
| 33 | #[Assert\DisableAutoMapping()] |
| 34 | private string $art; |
| 35 | |
| 36 | #[ORM\Column(name: 'atrpositionen', type: Types::INTEGER, nullable: true)] |
| 37 | private ?int $atrpositionen = null; |
| 38 | |
| 39 | /** |
| 40 | * Im Shop |
| 41 | */ |
| 42 | #[ORM\Column(name: 'auftragid', type: Types::STRING, length: 12, nullable: true)] |
| 43 | private ?string $auftragid = null; |
| 44 | |
| 45 | #[ORM\ManyToOne(targetEntity: Auftrag::class)] |
| 46 | #[ORM\JoinColumn(name: 'auftraglfdnr', referencedColumnName: 'lfdnr')] |
| 47 | private ?Auftrag $auftrag = null; |
| 48 | |
| 49 | /** |
| 50 | * Rechnung / Bestellung |
| 51 | */ |
| 52 | #[ORM\Column(name: 'auftragnr', type: Types::STRING, length: 12, nullable: true)] |
| 53 | private ?string $auftragnr = null; |
| 54 | |
| 55 | #[ORM\Column(name: 'auftragxmlpos', type: Types::INTEGER, nullable: true)] |
| 56 | private ?int $auftragxmlpos = 0; |
| 57 | |
| 58 | #[ORM\Column(name: 'bemerkung', type: Types::TEXT, nullable: true)] |
| 59 | private ?string $bemerkung = null; |
| 60 | |
| 61 | #[ORM\Column(name: 'datum', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 62 | private ?\DateTimeImmutable $datum = null; |
| 63 | |
| 64 | #[ORM\Column(name: 'defdata', type: Types::TEXT, nullable: true)] |
| 65 | private ?string $defdata = null; |
| 66 | |
| 67 | #[ORM\ManyToOne(targetEntity: Importauftragdata::class)] |
| 68 | #[ORM\JoinColumn(name: 'defdatalfdnr', referencedColumnName: 'lfdnr')] |
| 69 | private ?Importauftragdata $definitiondata = null; |
| 70 | |
| 71 | #[ORM\Column(name: 'endbetrag', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 72 | private ?string $endbetrag = null; |
| 73 | |
| 74 | #[ORM\Column(name: 'herkunft', type: Types::STRING, length: 3, nullable: true)] |
| 75 | private ?string $herkunft = null; |
| 76 | |
| 77 | #[ORM\Column(name: 'kunanrede', type: Types::STRING, length: 25, nullable: true)] |
| 78 | private ?string $kunanrede = null; |
| 79 | |
| 80 | #[ORM\Column(name: 'kundennr', type: Types::STRING, length: 8, nullable: true)] |
| 81 | private ?string $kundennr = null; |
| 82 | |
| 83 | #[ORM\Column(name: 'kunemail', type: Types::STRING, length: 70, nullable: true)] |
| 84 | private ?string $kunemail = null; |
| 85 | |
| 86 | #[ORM\Column(name: 'kunfax', type: Types::STRING, length: 30, nullable: true)] |
| 87 | private ?string $kunfax = null; |
| 88 | |
| 89 | #[ORM\Column(name: 'kuninternet', type: Types::STRING, length: 50, nullable: true)] |
| 90 | private ?string $kuninternet = null; |
| 91 | |
| 92 | #[ORM\Column(name: 'kunland', type: Types::STRING, length: 3, nullable: true)] |
| 93 | private ?string $kunland = null; |
| 94 | |
| 95 | #[ORM\ManyToOne(targetEntity: Adresse::class)] |
| 96 | #[ORM\JoinColumn(name: 'kunlfdnr', referencedColumnName: 'lfdnr')] |
| 97 | private ?Adresse $adresse = null; |
| 98 | |
| 99 | #[ORM\Column(name: 'kunname', type: Types::STRING, length: 40, nullable: true)] |
| 100 | private ?string $kunname = null; |
| 101 | |
| 102 | #[ORM\Column(name: 'kunname2', type: Types::STRING, length: 50, nullable: true)] |
| 103 | private ?string $kunname2 = null; |
| 104 | |
| 105 | #[ORM\Column(name: 'kunname3', type: Types::STRING, length: 50, nullable: true)] |
| 106 | private ?string $kunname3 = null; |
| 107 | |
| 108 | #[ORM\Column(name: 'kunnr', type: Types::STRING, length: 8, nullable: true)] |
| 109 | private ?string $kunnr = null; |
| 110 | |
| 111 | #[ORM\Column(name: 'kunort', type: Types::STRING, length: 40, nullable: true)] |
| 112 | private ?string $kunort = null; |
| 113 | |
| 114 | #[ORM\Column(name: 'kunplz', type: Types::STRING, length: 9, nullable: true)] |
| 115 | private ?string $kunplz = null; |
| 116 | |
| 117 | #[ORM\Column(name: 'kunstrasse', type: Types::STRING, length: 40, nullable: true)] |
| 118 | private ?string $kunstrasse = null; |
| 119 | |
| 120 | #[ORM\Column(name: 'kuntelefon1', type: Types::STRING, length: 30, nullable: true)] |
| 121 | private ?string $kuntelefon1 = null; |
| 122 | |
| 123 | #[ORM\Column(name: 'kuntelefon2', type: Types::STRING, length: 30, nullable: true)] |
| 124 | private ?string $kuntelefon2 = null; |
| 125 | |
| 126 | #[ORM\Column(name: 'kuntelefon3', type: Types::STRING, length: 30, nullable: true)] |
| 127 | private ?string $kuntelefon3 = null; |
| 128 | |
| 129 | #[ORM\Column(name: 'kuntitel', type: Types::STRING, length: 22, nullable: true)] |
| 130 | private ?string $kuntitel = null; |
| 131 | |
| 132 | #[ORM\Column(name: 'kunvorname', type: Types::STRING, length: 30, nullable: true)] |
| 133 | private ?string $kunvorname = null; |
| 134 | |
| 135 | #[ORM\Column(name: 'land', type: Types::STRING, length: 3, nullable: true)] |
| 136 | private ?string $land = null; |
| 137 | |
| 138 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 139 | #[ORM\Id] |
| 140 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 141 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 142 | public private(set) ?int $lfdnr = null; |
| 143 | |
| 144 | #[ORM\Column(name: 'lfranrede', type: Types::STRING, length: 25, nullable: true)] |
| 145 | private ?string $lfranrede = null; |
| 146 | |
| 147 | #[ORM\Column(name: 'lfremail', type: Types::STRING, length: 70, nullable: true)] |
| 148 | private ?string $lfremail = null; |
| 149 | |
| 150 | #[ORM\Column(name: 'lfrfax', type: Types::STRING, length: 30, nullable: true)] |
| 151 | private ?string $lfrfax = null; |
| 152 | |
| 153 | #[ORM\Column(name: 'lfrinternet', type: Types::STRING, length: 50, nullable: true)] |
| 154 | private ?string $lfrinternet = null; |
| 155 | |
| 156 | #[ORM\Column(name: 'lfrland', type: Types::STRING, length: 3, nullable: true)] |
| 157 | private ?string $lfrland = null; |
| 158 | |
| 159 | #[ORM\ManyToOne(targetEntity: Adresse::class)] |
| 160 | #[ORM\JoinColumn(name: 'lfrlfdnr', referencedColumnName: 'lfdnr')] |
| 161 | private ?Adresse $lieferadresse = null; |
| 162 | |
| 163 | #[ORM\Column(name: 'lfrname', type: Types::STRING, length: 40, nullable: true)] |
| 164 | private ?string $lfrname = null; |
| 165 | |
| 166 | #[ORM\Column(name: 'lfrname2', type: Types::STRING, length: 50, nullable: true)] |
| 167 | private ?string $lfrname2 = null; |
| 168 | |
| 169 | #[ORM\Column(name: 'lfrname3', type: Types::STRING, length: 50, nullable: true)] |
| 170 | private ?string $lfrname3 = null; |
| 171 | |
| 172 | #[ORM\Column(name: 'lfrnr', type: Types::STRING, length: 8, nullable: true)] |
| 173 | private ?string $lfrnr = null; |
| 174 | |
| 175 | #[ORM\Column(name: 'lfrort', type: Types::STRING, length: 40, nullable: true)] |
| 176 | private ?string $lfrort = null; |
| 177 | |
| 178 | #[ORM\Column(name: 'lfrplz', type: Types::STRING, length: 9, nullable: true)] |
| 179 | private ?string $lfrplz = null; |
| 180 | |
| 181 | #[ORM\Column(name: 'lfrstrasse', type: Types::STRING, length: 40, nullable: true)] |
| 182 | private ?string $lfrstrasse = null; |
| 183 | |
| 184 | #[ORM\Column(name: 'lfrtelefon1', type: Types::STRING, length: 30, nullable: true)] |
| 185 | private ?string $lfrtelefon1 = null; |
| 186 | |
| 187 | #[ORM\Column(name: 'lfrtelefon2', type: Types::STRING, length: 30, nullable: true)] |
| 188 | private ?string $lfrtelefon2 = null; |
| 189 | |
| 190 | #[ORM\Column(name: 'lfrtelefon3', type: Types::STRING, length: 30, nullable: true)] |
| 191 | private ?string $lfrtelefon3 = null; |
| 192 | |
| 193 | #[ORM\Column(name: 'lfrtitel', type: Types::STRING, length: 25, nullable: true)] |
| 194 | private ?string $lfrtitel = null; |
| 195 | |
| 196 | #[ORM\Column(name: 'lfrvorname', type: Types::STRING, length: 30, nullable: true)] |
| 197 | private ?string $lfrvorname = null; |
| 198 | |
| 199 | #[ORM\Column(name: 'lieferart', type: Types::STRING, length: 25, nullable: true)] |
| 200 | private ?string $lieferart = null; |
| 201 | |
| 202 | #[ORM\Column(name: 'name', type: Types::STRING, length: 40, nullable: true)] |
| 203 | private ?string $name = null; |
| 204 | |
| 205 | #[ORM\Column(name: 'name2', type: Types::STRING, length: 50, nullable: true)] |
| 206 | private ?string $name2 = null; |
| 207 | |
| 208 | #[ORM\Column(name: 'name3', type: Types::STRING, length: 50, nullable: true)] |
| 209 | private ?string $name3 = null; |
| 210 | |
| 211 | #[ORM\Column(name: 'ort', type: Types::STRING, length: 40, nullable: true)] |
| 212 | private ?string $ort = null; |
| 213 | |
| 214 | #[ORM\Column(name: 'plz', type: Types::STRING, length: 9, nullable: true)] |
| 215 | private ?string $plz = null; |
| 216 | |
| 217 | #[ORM\Column(name: 'strasse', type: Types::STRING, length: 40, nullable: true)] |
| 218 | private ?string $strasse = null; |
| 219 | |
| 220 | #[ORM\Column(name: 'titel', type: Types::STRING, length: 25, nullable: true)] |
| 221 | private ?string $titel = null; |
| 222 | |
| 223 | #[ORM\Column(name: 'uebernommen', type: Types::BOOLEAN, length: 1, nullable: true)] |
| 224 | private ?bool $uebernommen = null; |
| 225 | |
| 226 | #[ORM\Column(name: 'vorname', type: Types::STRING, length: 30, nullable: true)] |
| 227 | private ?string $vorname = null; |
| 228 | |
| 229 | #[ORM\Column(name: 'xmldata', type: Types::TEXT, nullable: true)] |
| 230 | private ?string $xmldata = null; |
| 231 | |
| 232 | #[ORM\ManyToOne(targetEntity: Importauftragdata::class)] |
| 233 | #[ORM\JoinColumn(name: 'xmldatalfdnr', referencedColumnName: 'lfdnr')] |
| 234 | private ?Importauftragdata $importauftragdata = null; |
| 235 | |
| 236 | #[ORM\Column(name: 'xmlid', type: Types::INTEGER, nullable: true)] |
| 237 | private ?int $xmlid = null; |
| 238 | |
| 239 | #[ORM\Column(name: 'zahlweise', type: Types::STRING, length: 25, nullable: true)] |
| 240 | private ?string $zahlweise = null; |
| 241 | |
| 242 | #[ORM\Column(name: 'archiviert', type: 'boolean_int', nullable: true)] |
| 243 | private ?bool $archiviert = false; |
| 244 | |
| 245 | #[ORM\Column(name: 'bestellnummer', type: Types::STRING, length: 32, nullable: true)] |
| 246 | private ?string $bestellnummer = null; |
| 247 | |
| 248 | #[ORM\ManyToOne(targetEntity: Beleg::class)] |
| 249 | #[ORM\JoinColumn(name: 'belegelfdnr', referencedColumnName: 'lfdnr')] |
| 250 | private ?Beleg $beleg = null; |
| 251 | |
| 252 | public function getBeleg(): ?Beleg |
| 253 | { |
| 254 | return $this->beleg; |
| 255 | } |
| 256 | |
| 257 | public function setBeleg(?Beleg $beleg): Importauftrag |
| 258 | { |
| 259 | $this->beleg = $beleg; |
| 260 | |
| 261 | return $this; |
| 262 | } |
| 263 | |
| 264 | public function isArchiviert(): ?bool |
| 265 | { |
| 266 | return $this->archiviert; |
| 267 | } |
| 268 | |
| 269 | public function setArchiviert(?bool $archiviert): Importauftrag |
| 270 | { |
| 271 | $this->archiviert = $archiviert; |
| 272 | |
| 273 | return $this; |
| 274 | } |
| 275 | |
| 276 | public function getAnrede(): ?string |
| 277 | { |
| 278 | return $this->anrede; |
| 279 | } |
| 280 | |
| 281 | public function setAnrede(?string $anrede): self |
| 282 | { |
| 283 | $this->anrede = $anrede; |
| 284 | |
| 285 | return $this; |
| 286 | } |
| 287 | |
| 288 | public function getArt(): string |
| 289 | { |
| 290 | return $this->art; |
| 291 | } |
| 292 | |
| 293 | public function setArt(string $art): self |
| 294 | { |
| 295 | $this->art = $art; |
| 296 | |
| 297 | return $this; |
| 298 | } |
| 299 | |
| 300 | public function getAtrpositionen(): ?int |
| 301 | { |
| 302 | return $this->atrpositionen; |
| 303 | } |
| 304 | |
| 305 | public function setAtrpositionen(?int $atrpositionen): self |
| 306 | { |
| 307 | $this->atrpositionen = $atrpositionen; |
| 308 | |
| 309 | return $this; |
| 310 | } |
| 311 | |
| 312 | public function getAuftragid(): ?string |
| 313 | { |
| 314 | return $this->auftragid; |
| 315 | } |
| 316 | |
| 317 | public function setAuftragid(?string $auftragid): self |
| 318 | { |
| 319 | $this->auftragid = $auftragid; |
| 320 | |
| 321 | return $this; |
| 322 | } |
| 323 | |
| 324 | public function getAuftrag(): ?Auftrag |
| 325 | { |
| 326 | return $this->auftrag; |
| 327 | } |
| 328 | |
| 329 | public function setAuftrag(?Auftrag $auftrag): self |
| 330 | { |
| 331 | $this->auftrag = $auftrag; |
| 332 | |
| 333 | return $this; |
| 334 | } |
| 335 | |
| 336 | public function getAuftragnr(): ?string |
| 337 | { |
| 338 | return $this->auftragnr; |
| 339 | } |
| 340 | |
| 341 | public function setAuftragnr(?string $auftragnr): self |
| 342 | { |
| 343 | $this->auftragnr = $auftragnr; |
| 344 | |
| 345 | return $this; |
| 346 | } |
| 347 | |
| 348 | public function getAuftragxmlpos(): ?int |
| 349 | { |
| 350 | return $this->auftragxmlpos; |
| 351 | } |
| 352 | |
| 353 | public function setAuftragxmlpos(?int $auftragxmlpos): self |
| 354 | { |
| 355 | $this->auftragxmlpos = $auftragxmlpos; |
| 356 | |
| 357 | return $this; |
| 358 | } |
| 359 | |
| 360 | public function getBemerkung(): ?string |
| 361 | { |
| 362 | return $this->bemerkung; |
| 363 | } |
| 364 | |
| 365 | public function setBemerkung(?string $bemerkung): self |
| 366 | { |
| 367 | $this->bemerkung = $bemerkung; |
| 368 | |
| 369 | return $this; |
| 370 | } |
| 371 | |
| 372 | public function getDatum(): ?\DateTimeImmutable |
| 373 | { |
| 374 | return $this->datum; |
| 375 | } |
| 376 | |
| 377 | public function setDatum(\DateTimeImmutable|\DateTime|null $datum): self |
| 378 | { |
| 379 | $this->datum = $datum instanceof \DateTime |
| 380 | ? \DateTimeImmutable::createFromMutable($datum) |
| 381 | : $datum; |
| 382 | |
| 383 | return $this; |
| 384 | } |
| 385 | |
| 386 | public function getDefdata(): ?string |
| 387 | { |
| 388 | return $this->defdata; |
| 389 | } |
| 390 | |
| 391 | public function setDefdata(?string $defdata): self |
| 392 | { |
| 393 | $this->defdata = $defdata; |
| 394 | |
| 395 | return $this; |
| 396 | } |
| 397 | |
| 398 | public function getDefinitiondata(): ?Importauftragdata |
| 399 | { |
| 400 | return $this->definitiondata; |
| 401 | } |
| 402 | |
| 403 | public function setDefinitiondata(?Importauftragdata $definitiondata): self |
| 404 | { |
| 405 | $this->definitiondata = $definitiondata; |
| 406 | |
| 407 | return $this; |
| 408 | } |
| 409 | |
| 410 | public function getEndbetrag(): ?string |
| 411 | { |
| 412 | return $this->endbetrag; |
| 413 | } |
| 414 | |
| 415 | public function setEndbetrag(?string $endbetrag): self |
| 416 | { |
| 417 | $this->endbetrag = $endbetrag; |
| 418 | |
| 419 | return $this; |
| 420 | } |
| 421 | |
| 422 | public function getHerkunft(): ?string |
| 423 | { |
| 424 | return $this->herkunft; |
| 425 | } |
| 426 | |
| 427 | public function setHerkunft(?string $herkunft): self |
| 428 | { |
| 429 | $this->herkunft = $herkunft; |
| 430 | |
| 431 | return $this; |
| 432 | } |
| 433 | |
| 434 | public function getKunanrede(): ?string |
| 435 | { |
| 436 | return $this->kunanrede; |
| 437 | } |
| 438 | |
| 439 | public function setKunanrede(?string $kunanrede): self |
| 440 | { |
| 441 | $this->kunanrede = $kunanrede; |
| 442 | |
| 443 | return $this; |
| 444 | } |
| 445 | |
| 446 | public function getKundennr(): ?string |
| 447 | { |
| 448 | return $this->kundennr; |
| 449 | } |
| 450 | |
| 451 | public function setKundennr(?string $kundennr): self |
| 452 | { |
| 453 | $this->kundennr = $kundennr; |
| 454 | |
| 455 | return $this; |
| 456 | } |
| 457 | |
| 458 | public function getKunemail(): ?string |
| 459 | { |
| 460 | return $this->kunemail; |
| 461 | } |
| 462 | |
| 463 | public function setKunemail(?string $kunemail): self |
| 464 | { |
| 465 | $this->kunemail = $kunemail; |
| 466 | |
| 467 | return $this; |
| 468 | } |
| 469 | |
| 470 | public function getKunfax(): ?string |
| 471 | { |
| 472 | return $this->kunfax; |
| 473 | } |
| 474 | |
| 475 | public function setKunfax(?string $kunfax): self |
| 476 | { |
| 477 | $this->kunfax = $kunfax; |
| 478 | |
| 479 | return $this; |
| 480 | } |
| 481 | |
| 482 | public function getKuninternet(): ?string |
| 483 | { |
| 484 | return $this->kuninternet; |
| 485 | } |
| 486 | |
| 487 | public function setKuninternet(?string $kuninternet): self |
| 488 | { |
| 489 | $this->kuninternet = $kuninternet; |
| 490 | |
| 491 | return $this; |
| 492 | } |
| 493 | |
| 494 | public function getKunland(): ?string |
| 495 | { |
| 496 | return $this->kunland; |
| 497 | } |
| 498 | |
| 499 | public function setKunland(?string $kunland): self |
| 500 | { |
| 501 | $this->kunland = $kunland; |
| 502 | |
| 503 | return $this; |
| 504 | } |
| 505 | |
| 506 | public function getAdresse(): ?Adresse |
| 507 | { |
| 508 | return $this->adresse; |
| 509 | } |
| 510 | |
| 511 | public function setAdresse(?Adresse $adresse): self |
| 512 | { |
| 513 | $this->adresse = $adresse; |
| 514 | |
| 515 | return $this; |
| 516 | } |
| 517 | |
| 518 | public function getKunname(): ?string |
| 519 | { |
| 520 | return $this->kunname; |
| 521 | } |
| 522 | |
| 523 | public function setKunname(?string $kunname): self |
| 524 | { |
| 525 | $this->kunname = $kunname; |
| 526 | |
| 527 | return $this; |
| 528 | } |
| 529 | |
| 530 | public function getKunname2(): ?string |
| 531 | { |
| 532 | return $this->kunname2; |
| 533 | } |
| 534 | |
| 535 | public function setKunname2(?string $kunname2): self |
| 536 | { |
| 537 | $this->kunname2 = $kunname2; |
| 538 | |
| 539 | return $this; |
| 540 | } |
| 541 | |
| 542 | public function getKunname3(): ?string |
| 543 | { |
| 544 | return $this->kunname3; |
| 545 | } |
| 546 | |
| 547 | public function setKunname3(?string $kunname3): self |
| 548 | { |
| 549 | $this->kunname3 = $kunname3; |
| 550 | |
| 551 | return $this; |
| 552 | } |
| 553 | |
| 554 | public function getKunnr(): ?string |
| 555 | { |
| 556 | return $this->kunnr; |
| 557 | } |
| 558 | |
| 559 | public function setKunnr(?string $kunnr): self |
| 560 | { |
| 561 | $this->kunnr = $kunnr; |
| 562 | |
| 563 | return $this; |
| 564 | } |
| 565 | |
| 566 | public function getKunort(): ?string |
| 567 | { |
| 568 | return $this->kunort; |
| 569 | } |
| 570 | |
| 571 | public function setKunort(?string $kunort): self |
| 572 | { |
| 573 | $this->kunort = $kunort; |
| 574 | |
| 575 | return $this; |
| 576 | } |
| 577 | |
| 578 | public function getKunplz(): ?string |
| 579 | { |
| 580 | return $this->kunplz; |
| 581 | } |
| 582 | |
| 583 | public function setKunplz(?string $kunplz): self |
| 584 | { |
| 585 | $this->kunplz = $kunplz; |
| 586 | |
| 587 | return $this; |
| 588 | } |
| 589 | |
| 590 | public function getKunstrasse(): ?string |
| 591 | { |
| 592 | return $this->kunstrasse; |
| 593 | } |
| 594 | |
| 595 | public function setKunstrasse(?string $kunstrasse): self |
| 596 | { |
| 597 | $this->kunstrasse = $kunstrasse; |
| 598 | |
| 599 | return $this; |
| 600 | } |
| 601 | |
| 602 | public function getKuntelefon1(): ?string |
| 603 | { |
| 604 | return $this->kuntelefon1; |
| 605 | } |
| 606 | |
| 607 | public function setKuntelefon1(?string $kuntelefon1): self |
| 608 | { |
| 609 | $this->kuntelefon1 = $kuntelefon1; |
| 610 | |
| 611 | return $this; |
| 612 | } |
| 613 | |
| 614 | public function getKuntelefon2(): ?string |
| 615 | { |
| 616 | return $this->kuntelefon2; |
| 617 | } |
| 618 | |
| 619 | public function setKuntelefon2(?string $kuntelefon2): self |
| 620 | { |
| 621 | $this->kuntelefon2 = $kuntelefon2; |
| 622 | |
| 623 | return $this; |
| 624 | } |
| 625 | |
| 626 | public function getKuntelefon3(): ?string |
| 627 | { |
| 628 | return $this->kuntelefon3; |
| 629 | } |
| 630 | |
| 631 | public function setKuntelefon3(?string $kuntelefon3): self |
| 632 | { |
| 633 | $this->kuntelefon3 = $kuntelefon3; |
| 634 | |
| 635 | return $this; |
| 636 | } |
| 637 | |
| 638 | public function getKuntitel(): ?string |
| 639 | { |
| 640 | return $this->kuntitel; |
| 641 | } |
| 642 | |
| 643 | public function setKuntitel(?string $kuntitel): self |
| 644 | { |
| 645 | $this->kuntitel = $kuntitel; |
| 646 | |
| 647 | return $this; |
| 648 | } |
| 649 | |
| 650 | public function getKunvorname(): ?string |
| 651 | { |
| 652 | return $this->kunvorname; |
| 653 | } |
| 654 | |
| 655 | public function setKunvorname(?string $kunvorname): self |
| 656 | { |
| 657 | $this->kunvorname = $kunvorname; |
| 658 | |
| 659 | return $this; |
| 660 | } |
| 661 | |
| 662 | public function getLand(): ?string |
| 663 | { |
| 664 | return $this->land; |
| 665 | } |
| 666 | |
| 667 | public function setLand(?string $land): self |
| 668 | { |
| 669 | $this->land = $land; |
| 670 | |
| 671 | return $this; |
| 672 | } |
| 673 | |
| 674 | public function getLfdnr(): ?int |
| 675 | { |
| 676 | return $this->lfdnr; |
| 677 | } |
| 678 | |
| 679 | public function getLfranrede(): ?string |
| 680 | { |
| 681 | return $this->lfranrede; |
| 682 | } |
| 683 | |
| 684 | public function setLfranrede(?string $lfranrede): self |
| 685 | { |
| 686 | $this->lfranrede = $lfranrede; |
| 687 | |
| 688 | return $this; |
| 689 | } |
| 690 | |
| 691 | public function getLfremail(): ?string |
| 692 | { |
| 693 | return $this->lfremail; |
| 694 | } |
| 695 | |
| 696 | public function setLfremail(?string $lfremail): self |
| 697 | { |
| 698 | $this->lfremail = $lfremail; |
| 699 | |
| 700 | return $this; |
| 701 | } |
| 702 | |
| 703 | public function getLfrfax(): ?string |
| 704 | { |
| 705 | return $this->lfrfax; |
| 706 | } |
| 707 | |
| 708 | public function setLfrfax(?string $lfrfax): self |
| 709 | { |
| 710 | $this->lfrfax = $lfrfax; |
| 711 | |
| 712 | return $this; |
| 713 | } |
| 714 | |
| 715 | public function getLfrinternet(): ?string |
| 716 | { |
| 717 | return $this->lfrinternet; |
| 718 | } |
| 719 | |
| 720 | public function setLfrinternet(?string $lfrinternet): self |
| 721 | { |
| 722 | $this->lfrinternet = $lfrinternet; |
| 723 | |
| 724 | return $this; |
| 725 | } |
| 726 | |
| 727 | public function getLfrland(): ?string |
| 728 | { |
| 729 | return $this->lfrland; |
| 730 | } |
| 731 | |
| 732 | public function setLfrland(?string $lfrland): self |
| 733 | { |
| 734 | $this->lfrland = $lfrland; |
| 735 | |
| 736 | return $this; |
| 737 | } |
| 738 | |
| 739 | public function getLieferadresse(): ?Adresse |
| 740 | { |
| 741 | return $this->lieferadresse; |
| 742 | } |
| 743 | |
| 744 | public function setLieferadresse(?Adresse $lieferadresse): self |
| 745 | { |
| 746 | $this->lieferadresse = $lieferadresse; |
| 747 | |
| 748 | return $this; |
| 749 | } |
| 750 | |
| 751 | public function getLfrname(): ?string |
| 752 | { |
| 753 | return $this->lfrname; |
| 754 | } |
| 755 | |
| 756 | public function setLfrname(?string $lfrname): self |
| 757 | { |
| 758 | $this->lfrname = $lfrname; |
| 759 | |
| 760 | return $this; |
| 761 | } |
| 762 | |
| 763 | public function getLfrname2(): ?string |
| 764 | { |
| 765 | return $this->lfrname2; |
| 766 | } |
| 767 | |
| 768 | public function setLfrname2(?string $lfrname2): self |
| 769 | { |
| 770 | $this->lfrname2 = $lfrname2; |
| 771 | |
| 772 | return $this; |
| 773 | } |
| 774 | |
| 775 | public function getLfrname3(): ?string |
| 776 | { |
| 777 | return $this->lfrname3; |
| 778 | } |
| 779 | |
| 780 | public function setLfrname3(?string $lfrname3): self |
| 781 | { |
| 782 | $this->lfrname3 = $lfrname3; |
| 783 | |
| 784 | return $this; |
| 785 | } |
| 786 | |
| 787 | public function getLfrnr(): ?string |
| 788 | { |
| 789 | return $this->lfrnr; |
| 790 | } |
| 791 | |
| 792 | public function setLfrnr(?string $lfrnr): self |
| 793 | { |
| 794 | $this->lfrnr = $lfrnr; |
| 795 | |
| 796 | return $this; |
| 797 | } |
| 798 | |
| 799 | public function getLfrort(): ?string |
| 800 | { |
| 801 | return $this->lfrort; |
| 802 | } |
| 803 | |
| 804 | public function setLfrort(?string $lfrort): self |
| 805 | { |
| 806 | $this->lfrort = $lfrort; |
| 807 | |
| 808 | return $this; |
| 809 | } |
| 810 | |
| 811 | public function getLfrplz(): ?string |
| 812 | { |
| 813 | return $this->lfrplz; |
| 814 | } |
| 815 | |
| 816 | public function setLfrplz(?string $lfrplz): self |
| 817 | { |
| 818 | $this->lfrplz = $lfrplz; |
| 819 | |
| 820 | return $this; |
| 821 | } |
| 822 | |
| 823 | public function getLfrstrasse(): ?string |
| 824 | { |
| 825 | return $this->lfrstrasse; |
| 826 | } |
| 827 | |
| 828 | public function setLfrstrasse(?string $lfrstrasse): self |
| 829 | { |
| 830 | $this->lfrstrasse = $lfrstrasse; |
| 831 | |
| 832 | return $this; |
| 833 | } |
| 834 | |
| 835 | public function getLfrtelefon1(): ?string |
| 836 | { |
| 837 | return $this->lfrtelefon1; |
| 838 | } |
| 839 | |
| 840 | public function setLfrtelefon1(?string $lfrtelefon1): self |
| 841 | { |
| 842 | $this->lfrtelefon1 = $lfrtelefon1; |
| 843 | |
| 844 | return $this; |
| 845 | } |
| 846 | |
| 847 | public function getLfrtelefon2(): ?string |
| 848 | { |
| 849 | return $this->lfrtelefon2; |
| 850 | } |
| 851 | |
| 852 | public function setLfrtelefon2(?string $lfrtelefon2): self |
| 853 | { |
| 854 | $this->lfrtelefon2 = $lfrtelefon2; |
| 855 | |
| 856 | return $this; |
| 857 | } |
| 858 | |
| 859 | public function getLfrtelefon3(): ?string |
| 860 | { |
| 861 | return $this->lfrtelefon3; |
| 862 | } |
| 863 | |
| 864 | public function setLfrtelefon3(?string $lfrtelefon3): self |
| 865 | { |
| 866 | $this->lfrtelefon3 = $lfrtelefon3; |
| 867 | |
| 868 | return $this; |
| 869 | } |
| 870 | |
| 871 | public function getLfrtitel(): ?string |
| 872 | { |
| 873 | return $this->lfrtitel; |
| 874 | } |
| 875 | |
| 876 | public function setLfrtitel(?string $lfrtitel): self |
| 877 | { |
| 878 | $this->lfrtitel = $lfrtitel; |
| 879 | |
| 880 | return $this; |
| 881 | } |
| 882 | |
| 883 | public function getLfrvorname(): ?string |
| 884 | { |
| 885 | return $this->lfrvorname; |
| 886 | } |
| 887 | |
| 888 | public function setLfrvorname(?string $lfrvorname): self |
| 889 | { |
| 890 | $this->lfrvorname = $lfrvorname; |
| 891 | |
| 892 | return $this; |
| 893 | } |
| 894 | |
| 895 | public function getLieferart(): ?string |
| 896 | { |
| 897 | return $this->lieferart; |
| 898 | } |
| 899 | |
| 900 | public function setLieferart(?string $lieferart): self |
| 901 | { |
| 902 | $this->lieferart = $lieferart; |
| 903 | |
| 904 | return $this; |
| 905 | } |
| 906 | |
| 907 | public function getName(): ?string |
| 908 | { |
| 909 | return $this->name; |
| 910 | } |
| 911 | |
| 912 | public function setName(?string $name): self |
| 913 | { |
| 914 | $this->name = $name; |
| 915 | |
| 916 | return $this; |
| 917 | } |
| 918 | |
| 919 | public function getName2(): ?string |
| 920 | { |
| 921 | return $this->name2; |
| 922 | } |
| 923 | |
| 924 | public function setName2(?string $name2): self |
| 925 | { |
| 926 | $this->name2 = $name2; |
| 927 | |
| 928 | return $this; |
| 929 | } |
| 930 | |
| 931 | public function getName3(): ?string |
| 932 | { |
| 933 | return $this->name3; |
| 934 | } |
| 935 | |
| 936 | public function setName3(?string $name3): self |
| 937 | { |
| 938 | $this->name3 = $name3; |
| 939 | |
| 940 | return $this; |
| 941 | } |
| 942 | |
| 943 | public function getOrt(): ?string |
| 944 | { |
| 945 | return $this->ort; |
| 946 | } |
| 947 | |
| 948 | public function setOrt(?string $ort): self |
| 949 | { |
| 950 | $this->ort = $ort; |
| 951 | |
| 952 | return $this; |
| 953 | } |
| 954 | |
| 955 | public function getPlz(): ?string |
| 956 | { |
| 957 | return $this->plz; |
| 958 | } |
| 959 | |
| 960 | public function setPlz(?string $plz): self |
| 961 | { |
| 962 | $this->plz = $plz; |
| 963 | |
| 964 | return $this; |
| 965 | } |
| 966 | |
| 967 | public function getStrasse(): ?string |
| 968 | { |
| 969 | return $this->strasse; |
| 970 | } |
| 971 | |
| 972 | public function setStrasse(?string $strasse): self |
| 973 | { |
| 974 | $this->strasse = $strasse; |
| 975 | |
| 976 | return $this; |
| 977 | } |
| 978 | |
| 979 | public function getTitel(): ?string |
| 980 | { |
| 981 | return $this->titel; |
| 982 | } |
| 983 | |
| 984 | public function setTitel(?string $titel): self |
| 985 | { |
| 986 | $this->titel = $titel; |
| 987 | |
| 988 | return $this; |
| 989 | } |
| 990 | |
| 991 | public function isUebernommen(): ?bool |
| 992 | { |
| 993 | return $this->uebernommen; |
| 994 | } |
| 995 | |
| 996 | public function setUebernommen(?bool $uebernommen): self |
| 997 | { |
| 998 | $this->uebernommen = $uebernommen; |
| 999 | |
| 1000 | return $this; |
| 1001 | } |
| 1002 | |
| 1003 | public function getVorname(): ?string |
| 1004 | { |
| 1005 | return $this->vorname; |
| 1006 | } |
| 1007 | |
| 1008 | public function setVorname(?string $vorname): self |
| 1009 | { |
| 1010 | $this->vorname = $vorname; |
| 1011 | |
| 1012 | return $this; |
| 1013 | } |
| 1014 | |
| 1015 | public function getXmldata(): ?string |
| 1016 | { |
| 1017 | return $this->xmldata; |
| 1018 | } |
| 1019 | |
| 1020 | public function setXmldata(?string $xmldata): self |
| 1021 | { |
| 1022 | $this->xmldata = $xmldata; |
| 1023 | |
| 1024 | return $this; |
| 1025 | } |
| 1026 | |
| 1027 | public function setImportdataXml(ImportdataXml $xmldata): self |
| 1028 | { |
| 1029 | $this->setXmldata($xmldata->getXml()); |
| 1030 | |
| 1031 | $auftrag = $xmldata->auftragXml; |
| 1032 | $this |
| 1033 | ->setAuftragnr($auftrag->getAuftragnr()) |
| 1034 | ->setDatum($auftrag->getDatum()) |
| 1035 | ->setAuftragid($auftrag->getAuftragid()) |
| 1036 | ->setHerkunft($auftrag->getHerkunft()) |
| 1037 | ->setBestellnummer($auftrag->getBestellnummer()) |
| 1038 | ; |
| 1039 | |
| 1040 | $this |
| 1041 | ->setLieferart($auftrag->getLieferart()) |
| 1042 | ->setZahlweise($auftrag->getZahlweise()) |
| 1043 | ->setBemerkung($auftrag->getBemerkung()) |
| 1044 | ->setAtrpositionen($auftrag->countAuftragspositionen()) |
| 1045 | ->setEndbetrag((string) $auftrag->getEndbetrag()) |
| 1046 | ; |
| 1047 | |
| 1048 | $adresseAuftrag = ($xmldata->auftragsadresseXml ?: $xmldata->adresseXml)->getData(); |
| 1049 | $lieferadresse = ($xmldata->lieferadresseXml ?: $xmldata->adresseXml)->getData(); |
| 1050 | $this |
| 1051 | ->setKundennr($adresseAuftrag['NR'] ?? null) |
| 1052 | ->setLfrnr($lieferadresse['NR'] ?? null) |
| 1053 | ->setAnrede($adresseAuftrag['ANREDE'] ?? null) |
| 1054 | ->setTitel($adresseAuftrag['TITEL'] ?? null) |
| 1055 | ->setVorname($adresseAuftrag['VORNAME'] ?? null) |
| 1056 | ->setName($adresseAuftrag['NAME'] ?? null) |
| 1057 | ->setName2($adresseAuftrag['NAME2'] ?? null) |
| 1058 | ->setName3($adresseAuftrag['NAME3'] ?? null) |
| 1059 | ->setStrasse($adresseAuftrag['STRASSE'] ?? null) |
| 1060 | ->setLand($adresseAuftrag['LAND'] ?? null) |
| 1061 | ->setPlz($adresseAuftrag['PLZ'] ?? null) |
| 1062 | ->setOrt($adresseAuftrag['ORT'] ?? null) |
| 1063 | ; |
| 1064 | |
| 1065 | $adresse = $xmldata->adresseXml->getData(); |
| 1066 | $this |
| 1067 | ->setKunnr($adresse['NR'] ?? null) |
| 1068 | ->setKunanrede($adresse['ANREDE'] ?? null) |
| 1069 | ->setKuntitel($adresse['TITEL'] ?? null) |
| 1070 | ->setKunvorname($adresse['VORNAME'] ?? null) |
| 1071 | ->setKunname($adresse['NAME'] ?? null) |
| 1072 | ->setKunname2($adresse['NAME2'] ?? null) |
| 1073 | ->setKunname3($adresse['NAME3'] ?? null) |
| 1074 | ->setKunstrasse($adresse['STRASSE'] ?? null) |
| 1075 | ->setKunland($adresse['LAND'] ?? null) |
| 1076 | ->setKunplz($adresse['PLZ'] ?? null) |
| 1077 | ->setKunort($adresse['ORT'] ?? null) |
| 1078 | ->setKuntelefon1($adresse['TELEFON1'] ?? null) |
| 1079 | ->setKuntelefon2($adresse['TELEFON2'] ?? null) |
| 1080 | ->setKuntelefon3($adresse['TELEFON3'] ?? null) |
| 1081 | ->setKunfax($adresse['FAX'] ?? null) |
| 1082 | ->setKunemail($adresse['EMAIL'] ?? null) |
| 1083 | ->setKuninternet($adresse['INTERNET'] ?? null); |
| 1084 | |
| 1085 | $this |
| 1086 | ->setLfrnr($lieferadresse['NR'] ?? null) |
| 1087 | ->setLfranrede($lieferadresse['ANREDE'] ?? null) |
| 1088 | ->setLfrtitel($lieferadresse['TITEL'] ?? null) |
| 1089 | ->setLfrvorname($lieferadresse['VORNAME'] ?? null) |
| 1090 | ->setLfrname($lieferadresse['NAME'] ?? null) |
| 1091 | ->setLfrname2($lieferadresse['NAME2'] ?? null) |
| 1092 | ->setLfrname3($lieferadresse['NAME3'] ?? null) |
| 1093 | ->setLfrstrasse($lieferadresse['STRASSE'] ?? null) |
| 1094 | ->setLfrland($lieferadresse['LAND'] ?? null) |
| 1095 | ->setLfrplz($lieferadresse['PLZ'] ?? null) |
| 1096 | ->setLfrort($lieferadresse['ORT'] ?? null) |
| 1097 | ->setLfrtelefon1($lieferadresse['TELEFON1'] ?? null) |
| 1098 | ->setLfrtelefon2($lieferadresse['TELEFON2'] ?? null) |
| 1099 | ->setLfrtelefon3($lieferadresse['TELEFON3'] ?? null) |
| 1100 | ->setLfrfax($lieferadresse['FAX'] ?? null) |
| 1101 | ->setLfremail($lieferadresse['EMAIL'] ?? null) |
| 1102 | ->setLfrinternet($lieferadresse['INTERNET'] ?? null); |
| 1103 | |
| 1104 | return $this; |
| 1105 | } |
| 1106 | |
| 1107 | public function getImportauftragdata(): ?Importauftragdata |
| 1108 | { |
| 1109 | return $this->importauftragdata; |
| 1110 | } |
| 1111 | |
| 1112 | public function setImportauftragdata(?Importauftragdata $importauftragdata): self |
| 1113 | { |
| 1114 | $this->importauftragdata = $importauftragdata; |
| 1115 | |
| 1116 | return $this; |
| 1117 | } |
| 1118 | |
| 1119 | public function getXmlid(): ?int |
| 1120 | { |
| 1121 | return $this->xmlid; |
| 1122 | } |
| 1123 | |
| 1124 | public function setXmlid(?int $xmlid): self |
| 1125 | { |
| 1126 | $this->xmlid = $xmlid; |
| 1127 | |
| 1128 | return $this; |
| 1129 | } |
| 1130 | |
| 1131 | public function getZahlweise(): ?string |
| 1132 | { |
| 1133 | return $this->zahlweise; |
| 1134 | } |
| 1135 | |
| 1136 | public function setZahlweise(?string $zahlweise): self |
| 1137 | { |
| 1138 | $this->zahlweise = $zahlweise; |
| 1139 | |
| 1140 | return $this; |
| 1141 | } |
| 1142 | |
| 1143 | public function getBestellnummer(): ?string |
| 1144 | { |
| 1145 | return $this->bestellnummer; |
| 1146 | } |
| 1147 | |
| 1148 | public function setBestellnummer(?string $bestellnummer): Importauftrag |
| 1149 | { |
| 1150 | $this->bestellnummer = $bestellnummer; |
| 1151 | |
| 1152 | return $this; |
| 1153 | } |
| 1154 | } |