1
|
|
|
<?php |
2
|
|
|
declare(strict_types=1); |
3
|
|
|
|
4
|
|
|
namespace GeodisBundle\Domain; |
5
|
|
|
|
6
|
|
|
use GeodisBundle\Domain\Base\Model; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* Class Destinataire. |
10
|
|
|
* nom Nom destinataire |
11
|
|
|
* adresse1 Adresse 1 destinataire |
12
|
|
|
* adresse2 Adresse 2 destinataire |
13
|
|
|
* codePostal CP destinataire |
14
|
|
|
* ville Localité destinataire |
15
|
|
|
* codePays Code pays destinataire |
16
|
|
|
* nomContact Contact destinataire Obligatoire si option livraison= RDW |
17
|
|
|
* email Mail destinataire |
18
|
|
|
* telFixe Téléphone destinataire |
19
|
|
|
* indTelMobile Ind. Portable destinataire |
20
|
|
|
* telMobile Numéro portable destinataire |
21
|
|
|
* codePorte Code port destinataire |
22
|
|
|
* codeTiers Code destinataire Obligatoire si Regroupement |
23
|
|
|
* noEntrepositaireAgree Numéro Entrepositaire agréé destinataire |
24
|
|
|
* particulier Type destinataire |
25
|
|
|
*/ |
26
|
|
|
|
27
|
|
|
class Destinataire extends Model |
28
|
|
|
{ |
29
|
|
|
public string $nom; |
30
|
|
|
public string $adresse1; |
31
|
|
|
public string $adresse2; |
32
|
|
|
public string $codePostal; |
33
|
|
|
public string $ville; |
34
|
|
|
public string $codePays; |
35
|
|
|
public ?string $nomContact = null; |
36
|
|
|
public ?string $email = null; |
37
|
|
|
public ?int $telFixe = null; |
38
|
|
|
public ?int $indTelMobile = null; |
39
|
|
|
public ?int $telMobile = null; |
40
|
|
|
public ?int $codePorte = null; |
41
|
|
|
public ?int $codeTiers = null; |
42
|
|
|
public ?int $noEntrepositaireAgree = null; |
43
|
|
|
public ?bool $particulier = null; |
44
|
|
|
|
45
|
|
|
public function getNom(): string |
46
|
|
|
{ |
47
|
|
|
return $this->nom; |
48
|
|
|
} |
49
|
|
|
|
50
|
|
|
public function setNom(string $nom): void |
51
|
|
|
{ |
52
|
|
|
$this->nom = $nom; |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
public function getAdresse1(): string |
56
|
|
|
{ |
57
|
|
|
return $this->adresse1; |
58
|
|
|
} |
59
|
|
|
|
60
|
|
|
public function setAdresse1(string $adresse1): void |
61
|
|
|
{ |
62
|
|
|
$this->adresse1 = $adresse1; |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
public function getAdresse2(): string |
66
|
|
|
{ |
67
|
|
|
return $this->adresse2; |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
public function setAdresse2(string $adresse2): void |
71
|
|
|
{ |
72
|
|
|
$this->adresse2 = $adresse2; |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
public function getCodePostal(): string |
76
|
|
|
{ |
77
|
|
|
return $this->codePostal; |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
public function setCodePostal(string $codePostal): void |
81
|
|
|
{ |
82
|
|
|
$this->codePostal = $codePostal; |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
public function getVille(): string |
86
|
|
|
{ |
87
|
|
|
return $this->ville; |
88
|
|
|
} |
89
|
|
|
|
90
|
|
|
public function setVille(string $ville): void |
91
|
|
|
{ |
92
|
|
|
$this->ville = $ville; |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
public function getCodePays(): string |
96
|
|
|
{ |
97
|
|
|
return $this->codePays; |
98
|
|
|
} |
99
|
|
|
|
100
|
|
|
public function setCodePays(string $codePays): void |
101
|
|
|
{ |
102
|
|
|
$this->codePays = $codePays; |
103
|
|
|
} |
104
|
|
|
|
105
|
|
|
public function getNomContact(): ?string |
106
|
|
|
{ |
107
|
|
|
return $this->nomContact; |
108
|
|
|
} |
109
|
|
|
|
110
|
|
|
public function setNomContact(?string $nomContact): void |
111
|
|
|
{ |
112
|
|
|
$this->nomContact = $nomContact; |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
public function getEmail(): ?string |
116
|
|
|
{ |
117
|
|
|
return $this->email; |
118
|
|
|
} |
119
|
|
|
|
120
|
|
|
public function setEmail(?string $email): void |
121
|
|
|
{ |
122
|
|
|
$this->email = $email; |
123
|
|
|
} |
124
|
|
|
|
125
|
|
|
public function getTelFixe(): ?int |
126
|
|
|
{ |
127
|
|
|
return $this->telFixe; |
128
|
|
|
} |
129
|
|
|
|
130
|
|
|
public function setTelFixe(?int $telFixe): void |
131
|
|
|
{ |
132
|
|
|
$this->telFixe = $telFixe; |
133
|
|
|
} |
134
|
|
|
|
135
|
|
|
public function getIndTelMobile(): ?int |
136
|
|
|
{ |
137
|
|
|
return $this->indTelMobile; |
138
|
|
|
} |
139
|
|
|
|
140
|
|
|
public function setIndTelMobile(?int $indTelMobile): void |
141
|
|
|
{ |
142
|
|
|
$this->indTelMobile = $indTelMobile; |
143
|
|
|
} |
144
|
|
|
|
145
|
|
|
public function getTelMobile(): ?int |
146
|
|
|
{ |
147
|
|
|
return $this->telMobile; |
148
|
|
|
} |
149
|
|
|
|
150
|
|
|
public function setTelMobile(?int $telMobile): void |
151
|
|
|
{ |
152
|
|
|
$this->telMobile = $telMobile; |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
public function getCodePorte(): ?int |
156
|
|
|
{ |
157
|
|
|
return $this->codePorte; |
158
|
|
|
} |
159
|
|
|
|
160
|
|
|
public function setCodePorte(?int $codePorte): void |
161
|
|
|
{ |
162
|
|
|
$this->codePorte = $codePorte; |
163
|
|
|
} |
164
|
|
|
|
165
|
|
|
public function getCodeTiers(): ?int |
166
|
|
|
{ |
167
|
|
|
return $this->codeTiers; |
168
|
|
|
} |
169
|
|
|
|
170
|
|
|
public function setCodeTiers(?int $codeTiers): void |
171
|
|
|
{ |
172
|
|
|
$this->codeTiers = $codeTiers; |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
public function getNoEntrepositaireAgree(): ?int |
176
|
|
|
{ |
177
|
|
|
return $this->noEntrepositaireAgree; |
178
|
|
|
} |
179
|
|
|
|
180
|
|
|
public function setNoEntrepositaireAgree(?int $noEntrepositaireAgree): void |
181
|
|
|
{ |
182
|
|
|
$this->noEntrepositaireAgree = $noEntrepositaireAgree; |
183
|
|
|
} |
184
|
|
|
|
185
|
|
|
public function getParticulier(): ?bool |
186
|
|
|
{ |
187
|
|
|
return $this->particulier; |
188
|
|
|
} |
189
|
|
|
|
190
|
|
|
public function setParticulier(?bool $particulier): void |
191
|
|
|
{ |
192
|
|
|
$this->particulier = $particulier; |
193
|
|
|
} |
194
|
|
|
} |
195
|
|
|
|