Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
37 / 37
100.00% covered (success)
100.00%
25 / 25
CRAP
100.00% covered (success)
100.00%
1 / 1
Mailbaum
100.00% covered (success)
100.00%
37 / 37
100.00% covered (success)
100.00%
25 / 25
25
100.00% covered (success)
100.00%
1 / 1
 getBenutzerlfdnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setBenutzerlfdnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getBezeichnung
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setBezeichnung
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getImapaktion
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setImapaktion
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getImapattribute
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setImapattribute
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getImapletztemail
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setImapletztemail
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getImapname
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setImapname
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getImapuid
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setImapuid
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getKontolfdnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setKontolfdnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getLfdnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getMaxtageanz
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setMaxtageanz
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getOeffentlich
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setOeffentlich
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getStammlfdnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setStammlfdnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
 getVaterlfdnr
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 setVaterlfdnr
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
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: 'MAILBAUM')]
12#[ORM\Index(columns: ['benutzerlfdnr', 'imapaktion'], name: 'MAILBAUM_IMAPAKTION_IDX')]
13#[ORM\Index(columns: ['kontolfdnr', 'imapname'], name: 'MAILBAUM_IMAP_IDX')]
14#[ORM\Index(columns: ['oeffentlich'], name: 'MAILBAUM_OEFFENTLICH_IDX')]
15#[ORM\Index(columns: ['benutzerlfdnr'], name: 'MAILBAUM_BENUTZERLFDNR_FK')]
16#[ORM\Index(columns: ['kontolfdnr'], name: 'MAILBAUM_KONTOLFDNR_FK')]
17#[ORM\Index(columns: ['vaterlfdnr'], name: 'MAILBAUM_VATERLFDNR_FK')]
18class Mailbaum
19{
20    #[ORM\ManyToOne(targetEntity: Benutzer::class)]
21    #[ORM\JoinColumn(name: 'benutzerlfdnr', referencedColumnName: 'lfdnr')]
22    private ?Benutzer $benutzerlfdnr = null;
23
24    #[ORM\Column(name: 'bezeichnung', type: Types::STRING, length: 80, nullable: true)]
25    private ?string $bezeichnung = null;
26
27    #[ORM\Column(name: 'imapaktion', type: Types::STRING, length: 255, nullable: true)]
28    private ?string $imapaktion = null;
29
30    #[ORM\Column(name: 'imapattribute', type: Types::STRING, length: 255, nullable: true)]
31    private ?string $imapattribute = null;
32
33    #[ORM\Column(name: 'imapletztemail', type: Types::INTEGER, nullable: true)]
34    private ?int $imapletztemail = null;
35
36    #[ORM\Column(name: 'imapname', type: Types::STRING, length: 80, nullable: true)]
37    private ?string $imapname = null;
38
39    #[ORM\Column(name: 'imapuid', type: Types::STRING, length: 80, nullable: true)]
40    private ?string $imapuid = null;
41
42    #[ORM\ManyToOne(targetEntity: Mailkonten::class)]
43    #[ORM\JoinColumn(name: 'kontolfdnr', referencedColumnName: 'lfdnr')]
44    private ?Mailkonten $kontolfdnr = null;
45
46    #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)]
47    #[ORM\Id]
48    #[ORM\GeneratedValue(strategy: 'SEQUENCE')]
49    #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)]
50    public private(set) ?int $lfdnr = null;
51
52    #[ORM\Column(name: 'maxtageanz', type: Types::INTEGER, nullable: true)]
53    private ?int $maxtageanz = null;
54
55    #[ORM\Column(name: 'oeffentlich', type: Types::STRING, length: 1, nullable: true)]
56    private ?string $oeffentlich = null;
57
58    #[ORM\Column(name: 'stammlfdnr', type: Types::INTEGER, nullable: true)]
59    private ?int $stammlfdnr = null;
60
61    #[ORM\ManyToOne(targetEntity: Mailbaum::class)]
62    #[ORM\JoinColumn(name: 'vaterlfdnr', referencedColumnName: 'lfdnr')]
63    private ?Mailbaum $vaterlfdnr = null;
64
65    public function getBenutzerlfdnr(): ?Benutzer
66    {
67        return $this->benutzerlfdnr;
68    }
69
70    public function setBenutzerlfdnr(?Benutzer $benutzerlfdnr): self
71    {
72        $this->benutzerlfdnr = $benutzerlfdnr;
73
74        return $this;
75    }
76
77    public function getBezeichnung(): ?string
78    {
79        return $this->bezeichnung;
80    }
81
82    public function setBezeichnung(?string $bezeichnung): self
83    {
84        $this->bezeichnung = $bezeichnung;
85
86        return $this;
87    }
88
89    public function getImapaktion(): ?string
90    {
91        return $this->imapaktion;
92    }
93
94    public function setImapaktion(?string $imapaktion): self
95    {
96        $this->imapaktion = $imapaktion;
97
98        return $this;
99    }
100
101    public function getImapattribute(): ?string
102    {
103        return $this->imapattribute;
104    }
105
106    public function setImapattribute(?string $imapattribute): self
107    {
108        $this->imapattribute = $imapattribute;
109
110        return $this;
111    }
112
113    public function getImapletztemail(): ?int
114    {
115        return $this->imapletztemail;
116    }
117
118    public function setImapletztemail(?int $imapletztemail): self
119    {
120        $this->imapletztemail = $imapletztemail;
121
122        return $this;
123    }
124
125    public function getImapname(): ?string
126    {
127        return $this->imapname;
128    }
129
130    public function setImapname(?string $imapname): self
131    {
132        $this->imapname = $imapname;
133
134        return $this;
135    }
136
137    public function getImapuid(): ?string
138    {
139        return $this->imapuid;
140    }
141
142    public function setImapuid(?string $imapuid): self
143    {
144        $this->imapuid = $imapuid;
145
146        return $this;
147    }
148
149    public function getKontolfdnr(): ?Mailkonten
150    {
151        return $this->kontolfdnr;
152    }
153
154    public function setKontolfdnr(?Mailkonten $kontolfdnr): self
155    {
156        $this->kontolfdnr = $kontolfdnr;
157
158        return $this;
159    }
160
161    public function getLfdnr(): ?int
162    {
163        return $this->lfdnr;
164    }
165
166    public function getMaxtageanz(): ?int
167    {
168        return $this->maxtageanz;
169    }
170
171    public function setMaxtageanz(?int $maxtageanz): self
172    {
173        $this->maxtageanz = $maxtageanz;
174
175        return $this;
176    }
177
178    public function getOeffentlich(): ?string
179    {
180        return $this->oeffentlich;
181    }
182
183    public function setOeffentlich(?string $oeffentlich): self
184    {
185        $this->oeffentlich = $oeffentlich;
186
187        return $this;
188    }
189
190    public function getStammlfdnr(): ?int
191    {
192        return $this->stammlfdnr;
193    }
194
195    public function setStammlfdnr(?int $stammlfdnr): self
196    {
197        $this->stammlfdnr = $stammlfdnr;
198
199        return $this;
200    }
201
202    public function getVaterlfdnr(): ?self
203    {
204        return $this->vaterlfdnr;
205    }
206
207    public function setVaterlfdnr(?self $vaterlfdnr): self
208    {
209        $this->vaterlfdnr = $vaterlfdnr;
210
211        return $this;
212    }
213}