Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
58 / 58 |
|
100.00% |
39 / 39 |
CRAP | |
100.00% |
1 / 1 |
| Druckformular | |
100.00% |
58 / 58 |
|
100.00% |
39 / 39 |
39 | |
100.00% |
1 / 1 |
| getAusdrucke | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAusdrucke | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getAusgabe | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setAusgabe | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getBemerkung | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBemerkung | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getBezeichnung | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBezeichnung | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailanlagename | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailanlagename | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailanlagetyp | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailanlagetyp | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailbcc | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailbcc | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailbetreff | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailbetreff | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailcc | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailcc | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailtext | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailtext | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getEmailto | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setEmailto | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFormularlink | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFormularlink | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getLldata | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setLldata | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLlsketch | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setLlsketch | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getModul | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setModul | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getOptionen | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setOptionen | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getReadonly | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setReadonly | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSortierung | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSortierung | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getTyp | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setTyp | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Satag\AmicronEntityBundle\Entity; |
| 6 | |
| 7 | use Doctrine\DBAL\Types\Types; |
| 8 | use Doctrine\ORM\Mapping as ORM; |
| 9 | use Satag\AmicronEntityBundle\Traits\BlameableEntity; |
| 10 | |
| 11 | #[ORM\Entity] |
| 12 | #[ORM\Table(name: 'DRUCKFORMULAR')] |
| 13 | #[ORM\Index(columns: ['formularlink'], name: 'DRUCKFORMULAR_FORMULARLINK_FK')] |
| 14 | class Druckformular |
| 15 | { |
| 16 | use BlameableEntity; |
| 17 | |
| 18 | #[ORM\Column(name: 'ausdrucke', type: Types::INTEGER, nullable: true)] |
| 19 | private ?int $ausdrucke = null; |
| 20 | |
| 21 | #[ORM\Column(name: 'ausgabe', type: Types::STRING, length: 1, nullable: true)] |
| 22 | private ?string $ausgabe = null; |
| 23 | |
| 24 | #[ORM\Column(name: 'bemerkung', type: Types::STRING, length: 60, nullable: true)] |
| 25 | private ?string $bemerkung = null; |
| 26 | |
| 27 | #[ORM\Column(name: 'bezeichnung', type: Types::STRING, length: 60, nullable: true)] |
| 28 | private ?string $bezeichnung = null; |
| 29 | |
| 30 | #[ORM\Column(name: 'emailanlagename', type: Types::STRING, length: 60, nullable: true)] |
| 31 | private ?string $emailanlagename = null; |
| 32 | |
| 33 | #[ORM\Column(name: 'emailanlagetyp', type: Types::STRING, length: 8, nullable: true)] |
| 34 | private ?string $emailanlagetyp = null; |
| 35 | |
| 36 | #[ORM\Column(name: 'emailbcc', type: Types::STRING, length: 80, nullable: true)] |
| 37 | private ?string $emailbcc = null; |
| 38 | |
| 39 | #[ORM\Column(name: 'emailbetreff', type: Types::STRING, length: 200, nullable: true)] |
| 40 | private ?string $emailbetreff = null; |
| 41 | |
| 42 | #[ORM\Column(name: 'emailcc', type: Types::STRING, length: 80, nullable: true)] |
| 43 | private ?string $emailcc = null; |
| 44 | |
| 45 | #[ORM\Column(name: 'emailtext', type: Types::TEXT, nullable: true)] |
| 46 | private ?string $emailtext = null; |
| 47 | |
| 48 | #[ORM\Column(name: 'emailto', type: Types::STRING, length: 80, nullable: true)] |
| 49 | private ?string $emailto = null; |
| 50 | |
| 51 | #[ORM\ManyToOne(targetEntity: Druckformular::class)] |
| 52 | #[ORM\JoinColumn(name: 'formularlink', referencedColumnName: 'lfdnr')] |
| 53 | private ?Druckformular $formularlink = null; |
| 54 | |
| 55 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 56 | #[ORM\Id] |
| 57 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 58 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 59 | public private(set) ?int $lfdnr = null; |
| 60 | |
| 61 | #[ORM\Column(name: 'lldata', type: 'blob_base64', nullable: true)] |
| 62 | private ?string $lldata = null; |
| 63 | |
| 64 | #[ORM\Column(name: 'llsketch', type: 'blob_base64', nullable: true)] |
| 65 | private ?string $llsketch = null; |
| 66 | |
| 67 | #[ORM\Column(name: 'modul', type: Types::STRING, length: 15, nullable: false)] |
| 68 | private string $modul; |
| 69 | |
| 70 | #[ORM\Column(name: 'optionen', type: 'blob_base64', nullable: true)] |
| 71 | private ?string $optionen = null; |
| 72 | |
| 73 | #[ORM\Column(name: 'readonly', type: Types::STRING, length: 1, nullable: true)] |
| 74 | private ?string $readonly = null; |
| 75 | |
| 76 | #[ORM\Column(name: 'sortierung', type: Types::STRING, length: 2, nullable: true)] |
| 77 | private ?string $sortierung = null; |
| 78 | |
| 79 | #[ORM\Column(name: 'typ', type: Types::STRING, length: 1, nullable: false)] |
| 80 | private string $typ; |
| 81 | |
| 82 | public function getAusdrucke(): ?int |
| 83 | { |
| 84 | return $this->ausdrucke; |
| 85 | } |
| 86 | |
| 87 | public function setAusdrucke(?int $ausdrucke): self |
| 88 | { |
| 89 | $this->ausdrucke = $ausdrucke; |
| 90 | |
| 91 | return $this; |
| 92 | } |
| 93 | |
| 94 | public function getAusgabe(): ?string |
| 95 | { |
| 96 | return $this->ausgabe; |
| 97 | } |
| 98 | |
| 99 | public function setAusgabe(?string $ausgabe): self |
| 100 | { |
| 101 | $this->ausgabe = $ausgabe; |
| 102 | |
| 103 | return $this; |
| 104 | } |
| 105 | |
| 106 | public function getBemerkung(): ?string |
| 107 | { |
| 108 | return $this->bemerkung; |
| 109 | } |
| 110 | |
| 111 | public function setBemerkung(?string $bemerkung): self |
| 112 | { |
| 113 | $this->bemerkung = $bemerkung; |
| 114 | |
| 115 | return $this; |
| 116 | } |
| 117 | |
| 118 | public function getBezeichnung(): ?string |
| 119 | { |
| 120 | return $this->bezeichnung; |
| 121 | } |
| 122 | |
| 123 | public function setBezeichnung(?string $bezeichnung): self |
| 124 | { |
| 125 | $this->bezeichnung = $bezeichnung; |
| 126 | |
| 127 | return $this; |
| 128 | } |
| 129 | |
| 130 | public function getEmailanlagename(): ?string |
| 131 | { |
| 132 | return $this->emailanlagename; |
| 133 | } |
| 134 | |
| 135 | public function setEmailanlagename(?string $emailanlagename): self |
| 136 | { |
| 137 | $this->emailanlagename = $emailanlagename; |
| 138 | |
| 139 | return $this; |
| 140 | } |
| 141 | |
| 142 | public function getEmailanlagetyp(): ?string |
| 143 | { |
| 144 | return $this->emailanlagetyp; |
| 145 | } |
| 146 | |
| 147 | public function setEmailanlagetyp(?string $emailanlagetyp): self |
| 148 | { |
| 149 | $this->emailanlagetyp = $emailanlagetyp; |
| 150 | |
| 151 | return $this; |
| 152 | } |
| 153 | |
| 154 | public function getEmailbcc(): ?string |
| 155 | { |
| 156 | return $this->emailbcc; |
| 157 | } |
| 158 | |
| 159 | public function setEmailbcc(?string $emailbcc): self |
| 160 | { |
| 161 | $this->emailbcc = $emailbcc; |
| 162 | |
| 163 | return $this; |
| 164 | } |
| 165 | |
| 166 | public function getEmailbetreff(): ?string |
| 167 | { |
| 168 | return $this->emailbetreff; |
| 169 | } |
| 170 | |
| 171 | public function setEmailbetreff(?string $emailbetreff): self |
| 172 | { |
| 173 | $this->emailbetreff = $emailbetreff; |
| 174 | |
| 175 | return $this; |
| 176 | } |
| 177 | |
| 178 | public function getEmailcc(): ?string |
| 179 | { |
| 180 | return $this->emailcc; |
| 181 | } |
| 182 | |
| 183 | public function setEmailcc(?string $emailcc): self |
| 184 | { |
| 185 | $this->emailcc = $emailcc; |
| 186 | |
| 187 | return $this; |
| 188 | } |
| 189 | |
| 190 | public function getEmailtext(): ?string |
| 191 | { |
| 192 | return $this->emailtext; |
| 193 | } |
| 194 | |
| 195 | public function setEmailtext(?string $emailtext): self |
| 196 | { |
| 197 | $this->emailtext = $emailtext; |
| 198 | |
| 199 | return $this; |
| 200 | } |
| 201 | |
| 202 | public function getEmailto(): ?string |
| 203 | { |
| 204 | return $this->emailto; |
| 205 | } |
| 206 | |
| 207 | public function setEmailto(?string $emailto): self |
| 208 | { |
| 209 | $this->emailto = $emailto; |
| 210 | |
| 211 | return $this; |
| 212 | } |
| 213 | |
| 214 | public function getFormularlink(): ?self |
| 215 | { |
| 216 | return $this->formularlink; |
| 217 | } |
| 218 | |
| 219 | public function setFormularlink(?self $formularlink): self |
| 220 | { |
| 221 | $this->formularlink = $formularlink; |
| 222 | |
| 223 | return $this; |
| 224 | } |
| 225 | |
| 226 | public function getLfdnr(): ?int |
| 227 | { |
| 228 | return $this->lfdnr; |
| 229 | } |
| 230 | |
| 231 | public function getLldata(): ?string |
| 232 | { |
| 233 | return $this->lldata; |
| 234 | } |
| 235 | |
| 236 | public function setLldata(?string $lldata): self |
| 237 | { |
| 238 | $this->lldata = $lldata; |
| 239 | |
| 240 | return $this; |
| 241 | } |
| 242 | |
| 243 | public function getLlsketch(): ?string |
| 244 | { |
| 245 | return $this->llsketch; |
| 246 | } |
| 247 | |
| 248 | public function setLlsketch(?string $llsketch): self |
| 249 | { |
| 250 | $this->llsketch = $llsketch; |
| 251 | |
| 252 | return $this; |
| 253 | } |
| 254 | |
| 255 | public function getModul(): string |
| 256 | { |
| 257 | return $this->modul; |
| 258 | } |
| 259 | |
| 260 | public function setModul(string $modul): self |
| 261 | { |
| 262 | $this->modul = $modul; |
| 263 | |
| 264 | return $this; |
| 265 | } |
| 266 | |
| 267 | public function getOptionen(): ?string |
| 268 | { |
| 269 | return $this->optionen; |
| 270 | } |
| 271 | |
| 272 | public function setOptionen(?string $optionen): self |
| 273 | { |
| 274 | $this->optionen = $optionen; |
| 275 | |
| 276 | return $this; |
| 277 | } |
| 278 | |
| 279 | public function getReadonly(): ?string |
| 280 | { |
| 281 | return $this->readonly; |
| 282 | } |
| 283 | |
| 284 | public function setReadonly(?string $readonly): self |
| 285 | { |
| 286 | $this->readonly = $readonly; |
| 287 | |
| 288 | return $this; |
| 289 | } |
| 290 | |
| 291 | public function getSortierung(): ?string |
| 292 | { |
| 293 | return $this->sortierung; |
| 294 | } |
| 295 | |
| 296 | public function setSortierung(?string $sortierung): self |
| 297 | { |
| 298 | $this->sortierung = $sortierung; |
| 299 | |
| 300 | return $this; |
| 301 | } |
| 302 | |
| 303 | public function getTyp(): string |
| 304 | { |
| 305 | return $this->typ; |
| 306 | } |
| 307 | |
| 308 | public function setTyp(string $typ): self |
| 309 | { |
| 310 | $this->typ = $typ; |
| 311 | |
| 312 | return $this; |
| 313 | } |
| 314 | } |