Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
277 / 277
100.00% covered (success)
100.00%
138 / 138
CRAP
100.00% covered (success)
100.00%
1 / 1
Importauftrag
100.00% covered (success)
100.00%
277 / 277
100.00% covered (success)
100.00%
138 / 138
141
100.00% covered (success)
100.00%
1 / 1
 getBeleg
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setBeleg
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 isArchiviert
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setArchiviert
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getAnrede
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setAnrede
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getArt
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setArt
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getAtrpositionen
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setAtrpositionen
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getAuftragid
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setAuftragid
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getAuftrag
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setAuftrag
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getAuftragnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setAuftragnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getAuftragxmlpos
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setAuftragxmlpos
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getBemerkung
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setBemerkung
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getDatum
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setDatum
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
1 / 1
2
 getDefdata
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setDefdata
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getDefinitiondata
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setDefinitiondata
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getEndbetrag
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setEndbetrag
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getHerkunft
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setHerkunft
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunanrede
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunanrede
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKundennr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKundennr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunemail
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunemail
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunfax
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunfax
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKuninternet
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKuninternet
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunland
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunland
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getAdresse
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setAdresse
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunname
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunname
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunname2
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunname2
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunname3
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunname3
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunort
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunort
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunplz
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunplz
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunstrasse
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunstrasse
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKuntelefon1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKuntelefon1
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKuntelefon2
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKuntelefon2
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKuntelefon3
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKuntelefon3
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKuntitel
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKuntitel
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKunvorname
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKunvorname
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
 getLfranrede
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfranrede
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfremail
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfremail
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrfax
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrfax
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrinternet
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrinternet
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrland
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrland
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLieferadresse
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLieferadresse
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrname
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrname
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrname2
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrname2
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrname3
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrname3
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrort
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrort
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrplz
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrplz
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrstrasse
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrstrasse
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrtelefon1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrtelefon1
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrtelefon2
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrtelefon2
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrtelefon3
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrtelefon3
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrtitel
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrtitel
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfrvorname
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLfrvorname
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLieferart
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setLieferart
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getName
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setName
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getName2
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setName2
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getName3
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setName3
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getOrt
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setOrt
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getPlz
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setPlz
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getStrasse
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setStrasse
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getTitel
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setTitel
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 isUebernommen
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setUebernommen
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getVorname
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setVorname
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getXmldata
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setXmldata
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 setImportdataXml
100.00% covered (success)
100.00%
70 / 70
100.00% covered (success)
100.00%
1 / 1
3
 getImportauftragdata
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setImportauftragdata
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getXmlid
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setXmlid
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getZahlweise
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setZahlweise
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getBestellnummer
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setBestellnummer
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\Struct\Xml\Import\ImportdataXml;
10use Satag\AmicronEntityBundle\Traits\BlameableEntity;
11use Satag\AmicronEntityBundle\Traits\DecimalEntity;
12use 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')]
25abstract 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}