summaryrefslogtreecommitdiff
path: root/src/model/Prestations.php
blob: 4f58d70282b6f5bd62e8ebf1c58acdbfbbddbd6a (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
<?php
// model/Prestations.php

class Prestations extends Model
{
    // lecture des données ou hydratation
    private $ID;
    private $IDClient;
    private $combientieme_fois;
    private $code_presta;
    private $date;
    private $type;
    private $mode_paiement;
    private $commentaires;

    public function __construct()
    {
	$this->table = strtolower(__CLASS__);
    }

    // setters
    public function setID(int $value)
    {
	$this->ID = $value;
	return($this);
    }
    public function setIDClient(int $value)
    {
	$this->ID_client = $value;
	return($this);
    }
    public function setCombientiemeFois(int $value)
    {
	$this->combientieme_fois = $value;
	return($this);
    }
    public function setCodePresta(string $value)
    {
	$this->code_presta = $value;
	return($this);
    }
    public function setDate(int $value)
    {
	$this->date = $value;
	return($this);
    }
    public function setType(string $value)
    {
	$this->type = $value;
	return($this);
    }
    public function setModePaiement(string $value)
    {
	$this->mode_paiement = $value;
	return($this);
    }
    public function setCommentaires(string $value)
    {
	$this->commentaires = $value;
	return($this);
    }
}