Issues (21)

src/Domain/Expediteur.php (10 issues)

1
<?php
2
declare(strict_types=1);
3
4
namespace GeodisBundle\Domain;
5
6
use GeodisBundle\Domain\Base\Model;
7
8
/**
9
 * Class Expediteur.
10
 *  nom                          Nom Expéditeur  ALGAM NATIONAL
11
 *  adresse1                     Adesse 1 Enlèvement PA DES PETITES LANDES
12
 *  adresse2                     Adresse 2 Enlèvement    2 RUE DE MILAN
13
 *  codePostal                   Code postal du site Enlèvement  44470
14
 *  ville                        Localité Enlèvement THOUARE SUR LOIRE
15
 *  codePays                     Code pays Enlèvement    FR
16
 *  nomContact                   Nom contact client site Enlèvement
17
 *  email                        Email contact client
18
 *  telFixe                      Téléphone contact Enlèvement
19
 *  indTelMobile                 Ind. Pays mobile Enlèvement
20
 *  telMobile                    Portable Enlèvement
21
 *  codePorte                    Code Porte
22
 *  codeTiers
23
 *  noEntrepositaireAgree        N° Entrepositaire cleint Expéditeur
24
 */
25
26
class Expediteur extends Model
27
{
28
    public string $nom;
29
    public string $adresse1;
30
    public string $adresse2;
31
    public string $codePostal;
32
    public string $ville;
33
    public string $codePays;
34
    public ?string $nomContact = null;
35
    public ?string $email = null;
36
    public ?int    $telFixe = null;
37
    public ?string $indTelMobile = null;
38
    public ?int    $telMobile = null;
39
    public ?int    $codePorte = null;
40
    public ?int    $codeTiers = null;
41
    public ?string $noEntrepositaireAgree = null;
42
    public ?string $periodePreferenceEnlevement = null;
43
    public ?string $instructionEnlevement = 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;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->nomContact could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
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;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->email could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
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;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->telFixe could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
Loading history...
128
    }
129
130
    public function setTelFixe(int $telFixe): void
131
    {
132
        $this->telFixe = $telFixe;
133
    }
134
135
    public function getIndTelMobile(): string
136
    {
137
        return $this->indTelMobile;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->indTelMobile could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
138
    }
139
140
    public function setIndTelMobile(string $indTelMobile): void
141
    {
142
        $this->indTelMobile = $indTelMobile;
143
    }
144
145
    public function getTelMobile(): int
146
    {
147
        return $this->telMobile;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->telMobile could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
Loading history...
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;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->codePorte could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
Loading history...
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;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->codeTiers could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
Loading history...
168
    }
169
170
    public function setCodeTiers(int $codeTiers): void
171
    {
172
        $this->codeTiers = $codeTiers;
173
    }
174
175
    public function getNoEntrepositaireAgree(): string
176
    {
177
        return $this->noEntrepositaireAgree;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->noEntrepositaireAgree could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
178
    }
179
180
    public function setNoEntrepositaireAgree(string $noEntrepositaireAgree): void
181
    {
182
        $this->noEntrepositaireAgree = $noEntrepositaireAgree;
183
    }
184
185
    public function getPeriodePreferenceEnlevement(): string
186
    {
187
        return $this->periodePreferenceEnlevement;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->periodePreferenceEnlevement could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
188
    }
189
190
    public function setPeriodePreferenceEnlevement(string $periodePreferenceEnlevement): void
191
    {
192
        $this->periodePreferenceEnlevement = $periodePreferenceEnlevement;
193
    }
194
195
    public function getInstructionEnlevement(): string
196
    {
197
        return $this->instructionEnlevement;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->instructionEnlevement could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
198
    }
199
200
    public function setInstructionEnlevement(string $instructionEnlevement): void
201
    {
202
        $this->instructionEnlevement = $instructionEnlevement;
203
    }
204
}