Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 33 |
|
0.00% |
0 / 21 |
CRAP | |
0.00% |
0 / 1 |
| Bank | |
0.00% |
0 / 33 |
|
0.00% |
0 / 21 |
506 | |
0.00% |
0 / 1 |
| getBlz | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBlz | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getHbcidns | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setHbcidns | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getHbciip | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setHbciip | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getHbciversion | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setHbciversion | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getInstitut | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setInstitut | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getLetzteaenderung | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLetzteaenderung | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
| getLfdnr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getNr | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setNr | |
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 | |||
| getPintanurl | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setPintanurl | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getPintanversion | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setPintanversion | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Satag\AmicronEntityBundle\Entity; |
| 6 | |
| 7 | use Doctrine\DBAL\Types\Types; |
| 8 | use Doctrine\ORM\Mapping as ORM; |
| 9 | use Satag\AmicronEntityBundle\Traits\BlameableEntity; |
| 10 | use Satag\AmicronEntityBundle\Traits\BlameableEntityInterface; |
| 11 | |
| 12 | #[ORM\Entity] |
| 13 | #[ORM\Table(name: 'BANKEN')] |
| 14 | class Bank implements BlameableEntityInterface |
| 15 | { |
| 16 | use BlameableEntity; |
| 17 | |
| 18 | #[ORM\Column(name: 'blz', type: Types::STRING, length: 8, nullable: true)] |
| 19 | private ?string $blz = null; |
| 20 | |
| 21 | #[ORM\Column(name: 'hbcidns', type: Types::STRING, length: 25, nullable: true)] |
| 22 | private ?string $hbcidns = null; |
| 23 | |
| 24 | #[ORM\Column(name: 'hbciip', type: Types::STRING, length: 15, nullable: true)] |
| 25 | private ?string $hbciip = null; |
| 26 | |
| 27 | #[ORM\Column(name: 'hbciversion', type: Types::INTEGER, nullable: true)] |
| 28 | private ?int $hbciversion = null; |
| 29 | |
| 30 | #[ORM\Column(name: 'institut', type: Types::STRING, length: 60, nullable: true)] |
| 31 | private ?string $institut = null; |
| 32 | |
| 33 | #[ORM\Column(name: 'letzteaenderung', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 34 | private ?\DateTimeImmutable $letzteaenderung = null; |
| 35 | |
| 36 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 37 | #[ORM\Id] |
| 38 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 39 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 40 | public private(set) ?int $lfdnr = null; |
| 41 | |
| 42 | #[ORM\Column(name: 'nr', type: Types::INTEGER, nullable: true)] |
| 43 | private ?int $nr = null; |
| 44 | |
| 45 | #[ORM\Column(name: 'ort', type: Types::STRING, length: 40, nullable: true)] |
| 46 | private ?string $ort = null; |
| 47 | |
| 48 | #[ORM\Column(name: 'pintanurl', type: Types::STRING, length: 60, nullable: true)] |
| 49 | private ?string $pintanurl = null; |
| 50 | |
| 51 | #[ORM\Column(name: 'pintanversion', type: Types::INTEGER, nullable: true)] |
| 52 | private ?int $pintanversion = null; |
| 53 | |
| 54 | public function getBlz(): ?string |
| 55 | { |
| 56 | return $this->blz; |
| 57 | } |
| 58 | |
| 59 | public function setBlz(?string $blz): self |
| 60 | { |
| 61 | $this->blz = $blz; |
| 62 | |
| 63 | return $this; |
| 64 | } |
| 65 | |
| 66 | public function getHbcidns(): ?string |
| 67 | { |
| 68 | return $this->hbcidns; |
| 69 | } |
| 70 | |
| 71 | public function setHbcidns(?string $hbcidns): self |
| 72 | { |
| 73 | $this->hbcidns = $hbcidns; |
| 74 | |
| 75 | return $this; |
| 76 | } |
| 77 | |
| 78 | public function getHbciip(): ?string |
| 79 | { |
| 80 | return $this->hbciip; |
| 81 | } |
| 82 | |
| 83 | public function setHbciip(?string $hbciip): self |
| 84 | { |
| 85 | $this->hbciip = $hbciip; |
| 86 | |
| 87 | return $this; |
| 88 | } |
| 89 | |
| 90 | public function getHbciversion(): ?int |
| 91 | { |
| 92 | return $this->hbciversion; |
| 93 | } |
| 94 | |
| 95 | public function setHbciversion(?int $hbciversion): self |
| 96 | { |
| 97 | $this->hbciversion = $hbciversion; |
| 98 | |
| 99 | return $this; |
| 100 | } |
| 101 | |
| 102 | public function getInstitut(): ?string |
| 103 | { |
| 104 | return $this->institut; |
| 105 | } |
| 106 | |
| 107 | public function setInstitut(?string $institut): self |
| 108 | { |
| 109 | $this->institut = $institut; |
| 110 | |
| 111 | return $this; |
| 112 | } |
| 113 | |
| 114 | public function getLetzteaenderung(): ?\DateTimeImmutable |
| 115 | { |
| 116 | return $this->letzteaenderung; |
| 117 | } |
| 118 | |
| 119 | public function setLetzteaenderung(\DateTimeImmutable|\DateTime|null $letzteaenderung): self |
| 120 | { |
| 121 | $this->letzteaenderung = $letzteaenderung instanceof \DateTime |
| 122 | ? \DateTimeImmutable::createFromMutable($letzteaenderung) |
| 123 | : $letzteaenderung; |
| 124 | |
| 125 | return $this; |
| 126 | } |
| 127 | |
| 128 | public function getLfdnr(): ?int |
| 129 | { |
| 130 | return $this->lfdnr; |
| 131 | } |
| 132 | |
| 133 | public function getNr(): ?int |
| 134 | { |
| 135 | return $this->nr; |
| 136 | } |
| 137 | |
| 138 | public function setNr(?int $nr): self |
| 139 | { |
| 140 | $this->nr = $nr; |
| 141 | |
| 142 | return $this; |
| 143 | } |
| 144 | |
| 145 | public function getOrt(): ?string |
| 146 | { |
| 147 | return $this->ort; |
| 148 | } |
| 149 | |
| 150 | public function setOrt(?string $ort): self |
| 151 | { |
| 152 | $this->ort = $ort; |
| 153 | |
| 154 | return $this; |
| 155 | } |
| 156 | |
| 157 | public function getPintanurl(): ?string |
| 158 | { |
| 159 | return $this->pintanurl; |
| 160 | } |
| 161 | |
| 162 | public function setPintanurl(?string $pintanurl): self |
| 163 | { |
| 164 | $this->pintanurl = $pintanurl; |
| 165 | |
| 166 | return $this; |
| 167 | } |
| 168 | |
| 169 | public function getPintanversion(): ?int |
| 170 | { |
| 171 | return $this->pintanversion; |
| 172 | } |
| 173 | |
| 174 | public function setPintanversion(?int $pintanversion): self |
| 175 | { |
| 176 | $this->pintanversion = $pintanversion; |
| 177 | |
| 178 | return $this; |
| 179 | } |
| 180 | } |