Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 10
0.00% covered (danger)
0.00%
0 / 7
CRAP
0.00% covered (danger)
0.00%
0 / 1
Spamlist
0.00% covered (danger)
0.00%
0 / 10
0.00% covered (danger)
0.00%
0 / 7
56
0.00% covered (danger)
0.00%
0 / 1
 getBw
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setBw
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 getLfdnr
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getSuchbegriff
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setSuchbegriff
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 getTyp
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setTyp
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: 'SPAMLIST')]
12#[ORM\UniqueConstraint(name: 'SPAMLIST_UK', columns: ['suchbegriff'])]
13class Spamlist
14{
15    #[ORM\Column(name: 'bw', type: Types::STRING, length: 1, nullable: true)]
16    private ?string $bw = null;
17
18    #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)]
19    #[ORM\Id]
20    #[ORM\GeneratedValue(strategy: 'SEQUENCE')]
21    #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)]
22    public private(set) ?int $lfdnr = null;
23
24    #[ORM\Column(name: 'suchbegriff', type: Types::STRING, length: 80, nullable: false)]
25    private string $suchbegriff;
26
27    #[ORM\Column(name: 'typ', type: Types::STRING, length: 1, nullable: true)]
28    private ?string $typ = null;
29
30    public function getBw(): ?string
31    {
32        return $this->bw;
33    }
34
35    public function setBw(?string $bw): self
36    {
37        $this->bw = $bw;
38
39        return $this;
40    }
41
42    public function getLfdnr(): ?int
43    {
44        return $this->lfdnr;
45    }
46
47    public function getSuchbegriff(): string
48    {
49        return $this->suchbegriff;
50    }
51
52    public function setSuchbegriff(string $suchbegriff): self
53    {
54        $this->suchbegriff = $suchbegriff;
55
56        return $this;
57    }
58
59    public function getTyp(): ?string
60    {
61        return $this->typ;
62    }
63
64    public function setTyp(?string $typ): self
65    {
66        $this->typ = $typ;
67
68        return $this;
69    }
70}