Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
31 / 31 |
|
100.00% |
21 / 21 |
CRAP | |
100.00% |
1 / 1 |
| Miniqueries | |
100.00% |
31 / 31 |
|
100.00% |
21 / 21 |
21 | |
100.00% |
1 / 1 |
| getBenutzerlfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setBenutzerlfdnr | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getDefaultdisplaymode | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setDefaultdisplaymode | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getFensterid | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setFensterid | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getLfdnr | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getProgrammid | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setProgrammid | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getQuerytext | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setQuerytext | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getRubrik | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setRubrik | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSqlfields | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSqlfields | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSqlfilter | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSqlfilter | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getSqlfrom | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setSqlfrom | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| getVorgabeid | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| setVorgabeid | |
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 | use Satag\AmicronEntityBundle\Traits\BlameableEntityInterface; |
| 11 | |
| 12 | #[ORM\Entity] |
| 13 | #[ORM\Table(name: 'MINIQUERIES')] |
| 14 | #[ORM\Index(columns: ['benutzerlfdnr'], name: 'MINIQUERIES_BENUTZERLFDNR_FK')] |
| 15 | class Miniqueries implements BlameableEntityInterface |
| 16 | { |
| 17 | use BlameableEntity; |
| 18 | |
| 19 | #[ORM\ManyToOne(targetEntity: Benutzer::class)] |
| 20 | #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')] |
| 21 | private ?Benutzer $benutzerlfdnr = null; |
| 22 | |
| 23 | #[ORM\Column(name: 'defaultdisplaymode', type: Types::INTEGER, nullable: true)] |
| 24 | private ?int $defaultdisplaymode = null; |
| 25 | |
| 26 | #[ORM\Column(name: 'fensterid', type: Types::INTEGER, nullable: true)] |
| 27 | private ?int $fensterid = 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: 'programmid', type: Types::INTEGER, nullable: true)] |
| 36 | private ?int $programmid = null; |
| 37 | |
| 38 | #[ORM\Column(name: 'querytext', type: Types::TEXT, nullable: true)] |
| 39 | private ?string $querytext = null; |
| 40 | |
| 41 | #[ORM\Column(name: 'rubrik', type: Types::STRING, length: 40, nullable: true)] |
| 42 | private ?string $rubrik = null; |
| 43 | |
| 44 | #[ORM\Column(name: 'sqlfields', type: Types::TEXT, nullable: true)] |
| 45 | private ?string $sqlfields = null; |
| 46 | |
| 47 | #[ORM\Column(name: 'sqlfilter', type: Types::TEXT, nullable: true)] |
| 48 | private ?string $sqlfilter = null; |
| 49 | |
| 50 | #[ORM\Column(name: 'sqlfrom', type: Types::TEXT, nullable: true)] |
| 51 | private ?string $sqlfrom = null; |
| 52 | |
| 53 | #[ORM\Column(name: 'vorgabeid', type: Types::INTEGER, nullable: true)] |
| 54 | private ?int $vorgabeid = null; |
| 55 | |
| 56 | public function getBenutzerlfdnr(): ?Benutzer |
| 57 | { |
| 58 | return $this->benutzerlfdnr; |
| 59 | } |
| 60 | |
| 61 | public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self |
| 62 | { |
| 63 | $this->benutzerlfdnr = $benutzerlfdnr; |
| 64 | |
| 65 | return $this; |
| 66 | } |
| 67 | |
| 68 | public function getDefaultdisplaymode(): ?int |
| 69 | { |
| 70 | return $this->defaultdisplaymode; |
| 71 | } |
| 72 | |
| 73 | public function setDefaultdisplaymode(?int $defaultdisplaymode): self |
| 74 | { |
| 75 | $this->defaultdisplaymode = $defaultdisplaymode; |
| 76 | |
| 77 | return $this; |
| 78 | } |
| 79 | |
| 80 | public function getFensterid(): ?int |
| 81 | { |
| 82 | return $this->fensterid; |
| 83 | } |
| 84 | |
| 85 | public function setFensterid(?int $fensterid): self |
| 86 | { |
| 87 | $this->fensterid = $fensterid; |
| 88 | |
| 89 | return $this; |
| 90 | } |
| 91 | |
| 92 | public function getLfdnr(): ?int |
| 93 | { |
| 94 | return $this->lfdnr; |
| 95 | } |
| 96 | |
| 97 | public function getProgrammid(): ?int |
| 98 | { |
| 99 | return $this->programmid; |
| 100 | } |
| 101 | |
| 102 | public function setProgrammid(?int $programmid): self |
| 103 | { |
| 104 | $this->programmid = $programmid; |
| 105 | |
| 106 | return $this; |
| 107 | } |
| 108 | |
| 109 | public function getQuerytext(): ?string |
| 110 | { |
| 111 | return $this->querytext; |
| 112 | } |
| 113 | |
| 114 | public function setQuerytext(?string $querytext): self |
| 115 | { |
| 116 | $this->querytext = $querytext; |
| 117 | |
| 118 | return $this; |
| 119 | } |
| 120 | |
| 121 | public function getRubrik(): ?string |
| 122 | { |
| 123 | return $this->rubrik; |
| 124 | } |
| 125 | |
| 126 | public function setRubrik(?string $rubrik): self |
| 127 | { |
| 128 | $this->rubrik = $rubrik; |
| 129 | |
| 130 | return $this; |
| 131 | } |
| 132 | |
| 133 | public function getSqlfields(): ?string |
| 134 | { |
| 135 | return $this->sqlfields; |
| 136 | } |
| 137 | |
| 138 | public function setSqlfields(?string $sqlfields): self |
| 139 | { |
| 140 | $this->sqlfields = $sqlfields; |
| 141 | |
| 142 | return $this; |
| 143 | } |
| 144 | |
| 145 | public function getSqlfilter(): ?string |
| 146 | { |
| 147 | return $this->sqlfilter; |
| 148 | } |
| 149 | |
| 150 | public function setSqlfilter(?string $sqlfilter): self |
| 151 | { |
| 152 | $this->sqlfilter = $sqlfilter; |
| 153 | |
| 154 | return $this; |
| 155 | } |
| 156 | |
| 157 | public function getSqlfrom(): ?string |
| 158 | { |
| 159 | return $this->sqlfrom; |
| 160 | } |
| 161 | |
| 162 | public function setSqlfrom(?string $sqlfrom): self |
| 163 | { |
| 164 | $this->sqlfrom = $sqlfrom; |
| 165 | |
| 166 | return $this; |
| 167 | } |
| 168 | |
| 169 | public function getVorgabeid(): ?int |
| 170 | { |
| 171 | return $this->vorgabeid; |
| 172 | } |
| 173 | |
| 174 | public function setVorgabeid(?int $vorgabeid): self |
| 175 | { |
| 176 | $this->vorgabeid = $vorgabeid; |
| 177 | |
| 178 | return $this; |
| 179 | } |
| 180 | } |