blob: b788d43614d490b3dcc5ebafcf23e61cc43d6232 (
plain)
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
|
<?php
// model/Locations.php
class Locations extends Model
{
// lecture des données ou hydratation
private $ID;
private $ID_presta;
private $nature_bien;
private $modele;
private $valeur;
private $etat_des_lieux_debut;
private $etat_des_lieux_fin;
private $duree_location;
private $loyer_mensuel;
private $total_HT;
use ModelChildren;
// setters
public function setID(int $value)
{
$this->ID = $value;
return($this);
}
public function setIDPresta(int $value)
{
$this->ID_presta = $value;
return($this);
}
public function setNatureBien(string $value)
{
$this->nature_bien = $value;
return($this);
}
public function setModele(string $value)
{
$this->modele = $value;
return($this);
}
public function setValeur(float $value)
{
$this->valeur = $value;
return($this);
}
public function setEtatDesLieuxDebut(string $value)
{
$this->etat_des_lieux_debut = $value;
return($this);
}
public function setEtatDesLieuxFin(string $value)
{
$this->etat_des_lieux_fin = $value;
return($this);
}
public function setDureeLocation(string $value)
{
$this->duree_location = $value;
return($this);
}
public function setlLyerMensuel(float $value)
{
$this->loyer_mensuel = $value;
return($this);
}
public function setTotalHT(float $value)
{
$this->total_HT = $value;
return($this);
}
}
|