Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 18
0.00% covered (danger)
0.00%
0 / 11
CRAP
0.00% covered (danger)
0.00%
0 / 1
Tableversions
0.00% covered (danger)
0.00%
0 / 18
0.00% covered (danger)
0.00%
0 / 11
156
0.00% covered (danger)
0.00%
0 / 1
 getApplication
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setApplication
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 getDatum
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setDatum
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 1
6
 getLfdnr
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getTablename
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setTablename
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 getVermajor
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setVermajor
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 getVerminor
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setVerminor
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3declare(strict_types=1);
4
5namespace Satag\AmicronEntityBundle\Entity;
6
7use Doctrine\DBAL\Types\Types;
8use Doctrine\ORM\Mapping as ORM;
9
10#[ORM\Entity]
11#[ORM\Table(name: 'TABLEVERSIONS')]
12class Tableversions
13{
14    #[ORM\Column(name: 'application', type: Types::STRING, length: 12, nullable: true)]
15    private ?string $application = null;
16
17    #[ORM\Column(name: 'datum', type: Types::DATETIME_IMMUTABLE, nullable: true)]
18    private ?\DateTimeImmutable $datum = null;
19
20    #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)]
21    #[ORM\Id]
22    #[ORM\GeneratedValue(strategy: 'SEQUENCE')]
23    #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)]
24    public private(set) ?int $lfdnr = null;
25
26    #[ORM\Column(name: 'tablename', type: Types::STRING, length: 31, nullable: true)]
27    private ?string $tablename = null;
28
29    #[ORM\Column(name: 'vermajor', type: Types::INTEGER, nullable: true)]
30    private ?int $vermajor = null;
31
32    #[ORM\Column(name: 'verminor', type: Types::INTEGER, nullable: true)]
33    private ?int $verminor = null;
34
35    public function getApplication(): ?string
36    {
37        return $this->application;
38    }
39
40    public function setApplication(?string $application): self
41    {
42        $this->application = $application;
43
44        return $this;
45    }
46
47    public function getDatum(): ?\DateTimeImmutable
48    {
49        return $this->datum;
50    }
51
52    public function setDatum(\DateTimeImmutable|\DateTime|null $datum): self
53    {
54        $this->datum = $datum instanceof \DateTime
55            ? \DateTimeImmutable::createFromInterface($datum)
56            : $datum;
57
58        return $this;
59    }
60
61    public function getLfdnr(): ?int
62    {
63        return $this->lfdnr;
64    }
65
66    public function getTablename(): ?string
67    {
68        return $this->tablename;
69    }
70
71    public function setTablename(?string $tablename): self
72    {
73        $this->tablename = $tablename;
74
75        return $this;
76    }
77
78    public function getVermajor(): ?int
79    {
80        return $this->vermajor;
81    }
82
83    public function setVermajor(?int $vermajor): self
84    {
85        $this->vermajor = $vermajor;
86
87        return $this;
88    }
89
90    public function getVerminor(): ?int
91    {
92        return $this->verminor;
93    }
94
95    public function setVerminor(?int $verminor): self
96    {
97        $this->verminor = $verminor;
98
99        return $this;
100    }
101}