1 | <?php |
||
2 | |||
3 | namespace DoctrineRepoHelperTest\Entity; |
||
4 | |||
5 | use Doctrine\ORM\Mapping as ORM; |
||
6 | |||
7 | /** |
||
8 | * Class AnotherExample |
||
9 | * @package DoctrineRepoHelper\Entity |
||
10 | * @ORM\Entity(repositoryClass="DoctrineRepoHelperTest\Repository\AnotherExampleRepository") |
||
11 | */ |
||
12 | class AnotherExample |
||
13 | { |
||
14 | /** |
||
15 | * @var int |
||
16 | * @ORM\Column(type="integer") |
||
17 | * @ORM\Id |
||
18 | * @ORM\GeneratedValue |
||
19 | */ |
||
20 | private $id; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | * @ORM\Column(type="string") |
||
25 | */ |
||
26 | private $string; |
||
0 ignored issues
–
show
|
|||
27 | |||
28 | /** |
||
29 | * @var integer |
||
30 | * @ORM\Column(type="bigint") |
||
31 | */ |
||
32 | private $bigint; |
||
0 ignored issues
–
show
|
|||
33 | |||
34 | /** |
||
35 | * @var |
||
36 | * @ORM\Column(type="binary") |
||
37 | */ |
||
38 | private $binary; |
||
0 ignored issues
–
show
|
|||
39 | |||
40 | /** |
||
41 | * @var |
||
42 | * @ORM\Column(type="blob") |
||
43 | */ |
||
44 | private $blob; |
||
0 ignored issues
–
show
|
|||
45 | |||
46 | /** |
||
47 | * @var |
||
48 | * @ORM\Column(type="boolean") |
||
49 | */ |
||
50 | private $boolean; |
||
0 ignored issues
–
show
|
|||
51 | |||
52 | /** |
||
53 | * @var |
||
54 | * @ORM\Column(type="date", nullable=true) |
||
55 | */ |
||
56 | private $date; |
||
0 ignored issues
–
show
|
|||
57 | |||
58 | /** |
||
59 | * @var |
||
60 | * @ORM\Column(type="datetime_immutable") |
||
61 | */ |
||
62 | private $datetime_immutable; |
||
0 ignored issues
–
show
|
|||
63 | |||
64 | /** |
||
65 | * @var |
||
66 | * @ORM\Column(type="date_immutable") |
||
67 | */ |
||
68 | private $date_immutable; |
||
0 ignored issues
–
show
|
|||
69 | |||
70 | /** |
||
71 | * @var |
||
72 | * @ORM\Column(type="text", nullable=true) |
||
73 | */ |
||
74 | private $text; |
||
0 ignored issues
–
show
|
|||
75 | |||
76 | /** |
||
77 | * @var |
||
78 | * @ORM\Column(type="array") |
||
79 | */ |
||
80 | private $array; |
||
0 ignored issues
–
show
|
|||
81 | |||
82 | /** |
||
83 | * @var Box |
||
84 | * @ORM\OneToOne(targetEntity="DoctrineRepoHelperTest\Entity\Box") |
||
85 | * @ORM\JoinColumn(name="box_id", referencedColumnName="id") |
||
86 | */ |
||
87 | private $box; |
||
0 ignored issues
–
show
|
|||
88 | } |
||
89 |