Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 13
0.00% covered (danger)
0.00%
0 / 9
CRAP
0.00% covered (danger)
0.00%
0 / 1
Atrposlinks
0.00% covered (danger)
0.00%
0 / 13
0.00% covered (danger)
0.00%
0 / 9
90
0.00% covered (danger)
0.00%
0 / 1
 getLfdnr
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getMenge
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setMenge
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 getQuellatrposlfdnr
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setQuellatrposlfdnr
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
 getZielatrposlfdnr
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setZielatrposlfdnr
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: 'ATRPOSLINKS')]
14#[ORM\Index(columns: ['quellatrposlfdnr'], name: 'ATRPOSLINKS_QUELLATRPOSLFDNR_FK')]
15#[ORM\Index(columns: ['zielatrposlfdnr'], name: 'ATRPOSLINKS_ZIELATRPOSLFDNR_FK')]
16class Atrposlinks implements BlameableEntityInterface
17{
18    use BlameableEntity;
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: 'menge', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)]
27    private ?string $menge = null;
28
29    #[ORM\ManyToOne(targetEntity: Auftragsposition::class)]
30    #[ORM\JoinColumn(name: 'quellatrposlfdnr', referencedColumnName: 'lfdnr')]
31    private ?Auftragsposition $quellatrposlfdnr = null;
32
33    #[ORM\Column(name: 'typ', type: Types::INTEGER, nullable: true)]
34    private ?int $typ = null;
35
36    #[ORM\ManyToOne(targetEntity: Auftragsposition::class)]
37    #[ORM\JoinColumn(name: 'zielatrposlfdnr', referencedColumnName: 'lfdnr')]
38    private ?Auftragsposition $zielatrposlfdnr = null;
39
40    public function getLfdnr(): ?int
41    {
42        return $this->lfdnr;
43    }
44
45    public function getMenge(): ?string
46    {
47        return $this->menge;
48    }
49
50    public function setMenge(?string $menge): self
51    {
52        $this->menge = $menge;
53
54        return $this;
55    }
56
57    public function getQuellatrposlfdnr(): ?Auftragsposition
58    {
59        return $this->quellatrposlfdnr;
60    }
61
62    public function setQuellatrposlfdnr(?Auftragsposition $quellatrposlfdnr): self
63    {
64        $this->quellatrposlfdnr = $quellatrposlfdnr;
65
66        return $this;
67    }
68
69    public function getTyp(): ?int
70    {
71        return $this->typ;
72    }
73
74    public function setTyp(?int $typ): self
75    {
76        $this->typ = $typ;
77
78        return $this;
79    }
80
81    public function getZielatrposlfdnr(): ?Auftragsposition
82    {
83        return $this->zielatrposlfdnr;
84    }
85
86    public function setZielatrposlfdnr(?Auftragsposition $zielatrposlfdnr): self
87    {
88        $this->zielatrposlfdnr = $zielatrposlfdnr;
89
90        return $this;
91    }
92}