Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 7
0.00% covered (danger)
0.00%
0 / 5
CRAP
0.00% covered (danger)
0.00%
0 / 1
Importauftragdata
0.00% covered (danger)
0.00%
0 / 7
0.00% covered (danger)
0.00%
0 / 5
30
0.00% covered (danger)
0.00%
0 / 1
 getData
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setData
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
 getMd5
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setMd5
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;
9use Satag\AmicronEntityBundle\Traits\BlameableEntity;
10use Satag\AmicronEntityBundle\Traits\BlameableEntityInterface;
11
12#[ORM\Entity]
13#[ORM\Table(name: 'IMPAUFTRAGDATA')]
14class Importauftragdata implements BlameableEntityInterface
15{
16    use BlameableEntity;
17
18    #[ORM\Column(name: 'data', type: 'blob_base64', nullable: true)]
19    private ?string $data = null;
20
21    #[ORM\Column(name: 'lfdnr', type: Types::INTEGER, nullable: false)]
22    #[ORM\Id]
23    #[ORM\GeneratedValue(strategy: 'SEQUENCE')]
24    #[ORM\SequenceGenerator(sequenceName: 'GEN_LFDNR', allocationSize: 1, initialValue: 1)]
25    public private(set) ?int $lfdnr = null;
26
27    #[ORM\Column(name: 'md5', type: Types::STRING, length: 32, nullable: true)]
28    private ?string $md5 = null;
29
30    public function getData(): ?string
31    {
32        return $this->data;
33    }
34
35    public function setData(?string $data): self
36    {
37        $this->data = $data;
38
39        return $this;
40    }
41
42    public function getLfdnr(): ?int
43    {
44        return $this->lfdnr;
45    }
46
47    public function getMd5(): ?string
48    {
49        return $this->md5;
50    }
51
52    public function setMd5(?string $md5): self
53    {
54        $this->md5 = $md5;
55
56        return $this;
57    }
58}