From 287376ad42e6847f49dd2e6762d35122b78a0019 Mon Sep 17 00:00:00 2001
From: clement <cmercier@etu.utc.fr>
Date: Thu, 12 Jun 2014 02:40:10 +0200
Subject: [PATCH] corrections

---
 class/animal.php   | 22 ++++++++++++++++++++++
 class/facture.php  | 22 ++++++++++++++++++++++
 class/personne.php | 11 +++++++++++
 3 files changed, 55 insertions(+)

diff --git a/class/animal.php b/class/animal.php
index bd7c1ff..72c20b1 100644
--- a/class/animal.php
+++ b/class/animal.php
@@ -3,6 +3,8 @@
 class Animal
 {
     private $nom;
+    private $proprio;
+    private $race;
     private $poids;
     private $genre;
     private $sterile;
@@ -21,6 +23,26 @@ class Animal
         $this->nom = $nom;
     }
 
+    public function proprio()
+    {
+        return $this->proprio;
+    }
+    
+    public function setProprio($proprio)
+    {
+        $this->proprio = $proprio;
+    }
+
+    public function race()
+    {
+        return $this->race;
+    }
+    
+    public function setRace($race)
+    {
+        $this->race = $race;
+    }
+
     public function poids()
     {
         return $this->poids;
diff --git a/class/facture.php b/class/facture.php
index 9425179..0ee0939 100644
--- a/class/facture.php
+++ b/class/facture.php
@@ -3,6 +3,8 @@
 class Facture
 {
     private $id;
+    private $employe;
+    private $animal;
     private $date_edition;
     private $date_paiement;
     private $moyen_paiement;
@@ -18,6 +20,26 @@ class Facture
         $this->id = $id;
     }
 
+    public function employe()
+    {
+        return $this->employe;
+    }
+    
+    public function setEmploye($employe)
+    {
+        $this->employe = $employe;
+    }
+
+    public function animal()
+    {
+        return $this->animal;
+    }
+    
+    public function setAnimal($animal)
+    {
+        $this->animal = $animal;
+    }
+
     public function date_edition()
     {
         return $this->date_edition;
diff --git a/class/personne.php b/class/personne.php
index 2d3b877..77db850 100644
--- a/class/personne.php
+++ b/class/personne.php
@@ -2,9 +2,20 @@
 
 class Personne
 {
+    private $id;
     private $nom;
     private $prenom;
 
+    public function id()
+    {
+        return $this->id;
+    }
+    
+    public function setId($id)
+    {
+        $this->id = $id;
+    }
+
     public function nom()
     {
         return $this->nom;
-- 
GitLab