Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?php
namespace App\Entity;
use App\Enum\Secteur;
use App\Repository\EtablissementRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: EtablissementRepository::class)]
class Etablissement
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $nom = null;
#[ORM\Column(length: 255)]
private ?string $nature = null;
#[ORM\Column(enumType: Secteur::class)]
private ?Secteur $secteur = null;
#[ORM\Column(type: Types::DECIMAL, precision: 12, scale: 9)]
private ?string $longitude = null;
#[ORM\Column(type: Types::DECIMAL, precision: 12, scale: 9)]
private ?string $latitude = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $adresse = null;
#[ORM\Column(length: 255)]
private ?string $departement = null;
#[ORM\Column(length: 255)]
private ?string $region = null;
#[ORM\Column(length: 255)]
private ?string $academie = null;
#[ORM\Column(length: 255)]
private ?string $commune = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $date_ouverture = null;
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(string $nom): static
{
$this->nom = $nom;
return $this;
}
public function getNature(): ?string
{
return $this->nature;
}
public function setNature(string $nature): static
{
$this->nature = $nature;
return $this;
}
public function getSecteur(): ?Secteur
{
return $this->secteur;
}
public function setSecteur(Secteur $secteur): static
{
$this->secteur = $secteur;
return $this;
}
public function getLongitude(): ?string
{
return $this->longitude;
}
public function setLongitude(string $longitude): static
{
$this->longitude = $longitude;
return $this;
}
public function getLatitude(): ?string
{
return $this->latitude;
}
public function setLatitude(string $latitude): static
{
$this->latitude = $latitude;
return $this;
}
public function getAdresse(): ?string
{
return $this->adresse;
}
public function setAdresse(?string $adresse): static
{
$this->adresse = $adresse;
return $this;
}
public function getDepartement(): ?string
{
return $this->departement;
}
public function setDepartement(string $departement): static
{
$this->departement = $departement;
return $this;
}
public function getRegion(): ?string
{
return $this->region;
}
public function setRegion(string $region): static
{
$this->region = $region;
return $this;
}
public function getAcademie(): ?string
{
return $this->academie;
}
public function setAcademie(string $academie): static
{
$this->academie = $academie;
return $this;
}
public function getCommune(): ?string
{
return $this->commune;
}
public function setCommune(string $commune): static
{
$this->commune = $commune;
return $this;
}
public function getDateOuverture(): ?\DateTimeInterface
{
return $this->date_ouverture;
}
public function setDateOuverture(?\DateTimeInterface $date_ouverture): static
{
$this->date_ouverture = $date_ouverture;
return $this;
}
}