Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| Laender | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 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(readOnly: true)] |
| 11 | #[ORM\Table(name: 'LAENDER')] |
| 12 | #[ORM\UniqueConstraint(name: 'LAENDER_UK', columns: ['landeskuerzel'])] |
| 13 | final class Laender |
| 14 | { |
| 15 | #[ORM\Column(name: 'geaendertam', type: Types::DATETIME_IMMUTABLE, nullable: true)] |
| 16 | public private(set) ?\DateTimeImmutable $geaendertam = null { |
| 17 | set(\DateTimeImmutable|\DateTime|null $value) => $value instanceof \DateTime ? \DateTimeImmutable::createFromMutable($value) : $value; |
| 18 | } |
| 19 | |
| 20 | #[ORM\Column(name: 'geaendertvon', type: Types::STRING, length: 3, nullable: true)] |
| 21 | public private(set) ?string $geaendertvon = null; |
| 22 | |
| 23 | #[ORM\Column(name: 'land', type: Types::STRING, length: 40, nullable: true)] |
| 24 | public private(set) ?string $land = null; |
| 25 | |
| 26 | #[ORM\Column(name: 'landeskuerzel', type: Types::STRING, length: 5, nullable: false)] |
| 27 | public private(set) string $landeskuerzel; |
| 28 | |
| 29 | #[ORM\Column(name: 'landesvorwahl', type: Types::STRING, length: 8, nullable: true)] |
| 30 | public private(set) ?string $landesvorwahl = null; |
| 31 | |
| 32 | #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)] |
| 33 | #[ORM\Id] |
| 34 | #[ORM\GeneratedValue(strategy: 'SEQUENCE')] |
| 35 | #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)] |
| 36 | public private(set) ?int $lfdnr = null; |
| 37 | |
| 38 | #[ORM\Column(name: 'ustidnr', type: Types::STRING, length: 15, nullable: true)] |
| 39 | public private(set) ?string $ustidnr = null; |
| 40 | } |