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