Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 40 |
|
0.00% |
0 / 27 |
CRAP | |
0.00% |
0 / 1 |
| Mark | |
0.00% |
0 / 40 |
|
0.00% |
0 / 27 |
756 | |
0.00% |
0 / 1 |
| getBenutzerkuerzel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBenutzerkuerzel | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getMadressenlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMadressenlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMansprechlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMansprechlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMark | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMark | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMartgruplfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMartgruplfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMartikellfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMartikellfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMatrbstlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMatrbstlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMfibuarchivlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMfibuarchivlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMfibulfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMfibulfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMgruppenexcllfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMgruppenexcllfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMgruppenlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMgruppenlfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMkontaktelfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMkontaktelfdnr | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getMoffposlfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setMoffposlfdnr | |
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 | |
| 10 | #[ORM\Entity] |
| 11 | #[ORM\Table(name: 'MARK')] |
| 12 | #[ORM\Index(columns: ['benutzerkuerzel'], name: 'MARK_BENUTZERKUERZEL_IDX')] |
| 13 | #[ORM\Index(columns: ['madressenlfdnr'], name: 'MARK_ADRESSENLFDNR_FK')] |
| 14 | #[ORM\Index(columns: ['mansprechlfdnr'], name: 'MARK_ANSPRECHLFDNR_FK')] |
| 15 | #[ORM\Index(columns: ['martikellfdnr'], name: 'MARK_ARTIKELLFDNR_FK')] |
| 16 | #[ORM\Index(columns: ['matrbstlfdnr'], name: 'MARK_ATRBSTLFDNR_FK')] |
| 17 | #[ORM\Index(columns: ['mfibuarchivlfdnr'], name: 'MARK_FIBUARCHIVELFDNR_FK')] |
| 18 | #[ORM\Index(columns: ['mfibulfdnr'], name: 'MARK_FIBULFDNR_FK')] |
| 19 | #[ORM\Index(columns: ['mgruppenexcllfdnr'], name: 'MARK_GRUPPENEXCLLFDNR_FK')] |
| 20 | #[ORM\Index(columns: ['mkontaktelfdnr'], name: 'MARK_KONTAKTELFDNR_FK')] |
| 21 | #[ORM\Index(columns: ['moffposlfdnr'], name: 'MARK_OFFPOSLFDNR_FK')] |
| 22 | class Mark |
| 23 | { |
| 24 | #[ORM\Column(name: 'benutzerkuerzel', type: Types::STRING, length: 3, nullable: false)] |
| 25 | private string $benutzerkuerzel; |
| 26 | |
| 27 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 28 | #[ORM\Id] |
| 29 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 30 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 31 | public private(set) ?int $lfdnr = null; |
| 32 | |
| 33 | #[ORM\ManyToOne(targetEntity: Adresse::class)] |
| 34 | #[ORM\JoinColumn(name: 'madressenlfdnr', referencedColumnName: 'lfdnr')] |
| 35 | private ?Adresse $madressenlfdnr = null; |
| 36 | |
| 37 | #[ORM\ManyToOne(targetEntity: Ansprechpartner::class)] |
| 38 | #[ORM\JoinColumn(name: 'mansprechlfdnr', referencedColumnName: 'lfdnr')] |
| 39 | private ?Ansprechpartner $mansprechlfdnr = null; |
| 40 | |
| 41 | #[ORM\Column(name: 'mark', type: Types::STRING, length: 1, nullable: true)] |
| 42 | private ?string $mark = null; |
| 43 | |
| 44 | #[ORM\Column(name: 'martgruplfdnr', type: Types::INTEGER, nullable: true)] |
| 45 | private ?int $martgruplfdnr = null; |
| 46 | |
| 47 | #[ORM\ManyToOne(targetEntity: Artikel::class)] |
| 48 | #[ORM\JoinColumn(name: 'martikellfdnr', referencedColumnName: 'lfdnr')] |
| 49 | private ?Artikel $martikellfdnr = null; |
| 50 | |
| 51 | #[ORM\ManyToOne(targetEntity: Auftrag::class)] |
| 52 | #[ORM\JoinColumn(name: 'matrbstlfdnr', referencedColumnName: 'lfdnr')] |
| 53 | private ?Auftrag $matrbstlfdnr = null; |
| 54 | |
| 55 | #[ORM\ManyToOne(targetEntity: Fibuarchiv::class)] |
| 56 | #[ORM\JoinColumn(name: 'mfibuarchivlfdnr', referencedColumnName: 'lfdnr')] |
| 57 | private ?Fibuarchiv $mfibuarchivlfdnr = null; |
| 58 | |
| 59 | #[ORM\ManyToOne(targetEntity: Fibu::class)] |
| 60 | #[ORM\JoinColumn(name: 'mfibulfdnr', referencedColumnName: 'lfdnr')] |
| 61 | private ?Fibu $mfibulfdnr = null; |
| 62 | |
| 63 | #[ORM\ManyToOne(targetEntity: Adressgruppe::class)] |
| 64 | #[ORM\JoinColumn(name: 'mgruppenexcllfdnr', referencedColumnName: 'lfdnr')] |
| 65 | private ?Adressgruppe $mgruppenexcllfdnr = null; |
| 66 | |
| 67 | #[ORM\Column(name: 'mgruppenlfdnr', type: Types::INTEGER, nullable: true)] |
| 68 | private ?int $mgruppenlfdnr = null; |
| 69 | |
| 70 | #[ORM\ManyToOne(targetEntity: Kontakt::class)] |
| 71 | #[ORM\JoinColumn(name: 'mkontaktelfdnr', referencedColumnName: 'lfdnr')] |
| 72 | private ?Kontakt $mkontaktelfdnr = null; |
| 73 | |
| 74 | #[ORM\ManyToOne(targetEntity: OffenerPosten::class)] |
| 75 | #[ORM\JoinColumn(name: 'moffposlfdnr', referencedColumnName: 'lfdnr')] |
| 76 | private ?OffenerPosten $moffposlfdnr = null; |
| 77 | |
| 78 | public function getBenutzerkuerzel(): string |
| 79 | { |
| 80 | return $this->benutzerkuerzel; |
| 81 | } |
| 82 | |
| 83 | public function setBenutzerkuerzel(string $benutzerkuerzel): self |
| 84 | { |
| 85 | $this->benutzerkuerzel = $benutzerkuerzel; |
| 86 | |
| 87 | return $this; |
| 88 | } |
| 89 | |
| 90 | public function getLfdnr(): ?int |
| 91 | { |
| 92 | return $this->lfdnr; |
| 93 | } |
| 94 | |
| 95 | public function getMadressenlfdnr(): ?Adresse |
| 96 | { |
| 97 | return $this->madressenlfdnr; |
| 98 | } |
| 99 | |
| 100 | public function setMadressenlfdnr(?Adresse $madressenlfdnr): self |
| 101 | { |
| 102 | $this->madressenlfdnr = $madressenlfdnr; |
| 103 | |
| 104 | return $this; |
| 105 | } |
| 106 | |
| 107 | public function getMansprechlfdnr(): ?Ansprechpartner |
| 108 | { |
| 109 | return $this->mansprechlfdnr; |
| 110 | } |
| 111 | |
| 112 | public function setMansprechlfdnr(?Ansprechpartner $mansprechlfdnr): self |
| 113 | { |
| 114 | $this->mansprechlfdnr = $mansprechlfdnr; |
| 115 | |
| 116 | return $this; |
| 117 | } |
| 118 | |
| 119 | public function getMark(): ?string |
| 120 | { |
| 121 | return $this->mark; |
| 122 | } |
| 123 | |
| 124 | public function setMark(?string $mark): self |
| 125 | { |
| 126 | $this->mark = $mark; |
| 127 | |
| 128 | return $this; |
| 129 | } |
| 130 | |
| 131 | public function getMartgruplfdnr(): ?int |
| 132 | { |
| 133 | return $this->martgruplfdnr; |
| 134 | } |
| 135 | |
| 136 | public function setMartgruplfdnr(?int $martgruplfdnr): self |
| 137 | { |
| 138 | $this->martgruplfdnr = $martgruplfdnr; |
| 139 | |
| 140 | return $this; |
| 141 | } |
| 142 | |
| 143 | public function getMartikellfdnr(): ?Artikel |
| 144 | { |
| 145 | return $this->martikellfdnr; |
| 146 | } |
| 147 | |
| 148 | public function setMartikellfdnr(?Artikel $martikellfdnr): self |
| 149 | { |
| 150 | $this->martikellfdnr = $martikellfdnr; |
| 151 | |
| 152 | return $this; |
| 153 | } |
| 154 | |
| 155 | public function getMatrbstlfdnr(): ?Auftrag |
| 156 | { |
| 157 | return $this->matrbstlfdnr; |
| 158 | } |
| 159 | |
| 160 | public function setMatrbstlfdnr(?Auftrag $matrbstlfdnr): self |
| 161 | { |
| 162 | $this->matrbstlfdnr = $matrbstlfdnr; |
| 163 | |
| 164 | return $this; |
| 165 | } |
| 166 | |
| 167 | public function getMfibuarchivlfdnr(): ?Fibuarchiv |
| 168 | { |
| 169 | return $this->mfibuarchivlfdnr; |
| 170 | } |
| 171 | |
| 172 | public function setMfibuarchivlfdnr(?Fibuarchiv $mfibuarchivlfdnr): self |
| 173 | { |
| 174 | $this->mfibuarchivlfdnr = $mfibuarchivlfdnr; |
| 175 | |
| 176 | return $this; |
| 177 | } |
| 178 | |
| 179 | public function getMfibulfdnr(): ?Fibu |
| 180 | { |
| 181 | return $this->mfibulfdnr; |
| 182 | } |
| 183 | |
| 184 | public function setMfibulfdnr(?Fibu $mfibulfdnr): self |
| 185 | { |
| 186 | $this->mfibulfdnr = $mfibulfdnr; |
| 187 | |
| 188 | return $this; |
| 189 | } |
| 190 | |
| 191 | public function getMgruppenexcllfdnr(): ?Adressgruppe |
| 192 | { |
| 193 | return $this->mgruppenexcllfdnr; |
| 194 | } |
| 195 | |
| 196 | public function setMgruppenexcllfdnr(?Adressgruppe $mgruppenexcllfdnr): self |
| 197 | { |
| 198 | $this->mgruppenexcllfdnr = $mgruppenexcllfdnr; |
| 199 | |
| 200 | return $this; |
| 201 | } |
| 202 | |
| 203 | public function getMgruppenlfdnr(): ?int |
| 204 | { |
| 205 | return $this->mgruppenlfdnr; |
| 206 | } |
| 207 | |
| 208 | public function setMgruppenlfdnr(?int $mgruppenlfdnr): self |
| 209 | { |
| 210 | $this->mgruppenlfdnr = $mgruppenlfdnr; |
| 211 | |
| 212 | return $this; |
| 213 | } |
| 214 | |
| 215 | public function getMkontaktelfdnr(): ?Kontakt |
| 216 | { |
| 217 | return $this->mkontaktelfdnr; |
| 218 | } |
| 219 | |
| 220 | public function setMkontaktelfdnr(?Kontakt $mkontaktelfdnr): self |
| 221 | { |
| 222 | $this->mkontaktelfdnr = $mkontaktelfdnr; |
| 223 | |
| 224 | return $this; |
| 225 | } |
| 226 | |
| 227 | public function getMoffposlfdnr(): ?OffenerPosten |
| 228 | { |
| 229 | return $this->moffposlfdnr; |
| 230 | } |
| 231 | |
| 232 | public function setMoffposlfdnr(?OffenerPosten $moffposlfdnr): self |
| 233 | { |
| 234 | $this->moffposlfdnr = $moffposlfdnr; |
| 235 | |
| 236 | return $this; |
| 237 | } |
| 238 | } |