From c9fbdd00d1b5ce43d7031f8adfb4bbf3082a4f16 Mon Sep 17 00:00:00 2001
From: clement <clemmercier45@gmail.com>
Date: Thu, 19 Jun 2014 00:54:00 +0200
Subject: [PATCH] c

---
 class/lignefacture.php    | 82 +++++++++++++++++++++++++++++++++++++++
 class/ligneordonnance.php | 48 +++++++++++++++++++++++
 2 files changed, 130 insertions(+)
 create mode 100644 class/lignefacture.php
 create mode 100644 class/ligneordonnance.php

diff --git a/class/lignefacture.php b/class/lignefacture.php
new file mode 100644
index 0000000..e553d8b
--- /dev/null
+++ b/class/lignefacture.php
@@ -0,0 +1,82 @@
+<?php
+
+class LigneFacture extends Objet
+{
+    protected $id;
+    protected $facture;
+    protected $prestation;
+    protected $ordonnance;
+    protected $produit;
+    protected $quantite;
+    protected $remise;
+
+    public function id()
+    {
+        return $this->id;
+    }
+    
+    public function setId($id)
+    {
+        $this->id = $id;
+    }
+
+    public function facture()
+    {
+        return $this->facture;
+    }
+    
+    public function setFacture($facture)
+    {
+        $this->facture = $facture;
+    }
+
+    public function prestation()
+    {
+        return $this->prestation;
+    }
+    
+    public function setPrestation($prestation)
+    {
+        $this->prestation = $prestation;
+    }
+
+    public function ordonnance()
+    {
+        return $this->ordonnance;
+    }
+    
+    public function setOrdonnance($ordonnance)
+    {
+        $this->ordonnance = $ordonnance;
+    }
+
+    public function produit()
+    {
+        return $this->produit;
+    }
+    
+    public function setProduit($produit)
+    {
+        $this->produit = $produit;
+    }
+
+
+    public function quantite()
+    {
+        return $this->quantite;
+    }
+    
+    public function setQuantite($quantite)
+    {
+        $this->quantite = $quantite;
+    }
+
+    public function remise()
+    {
+        return $this->remise;
+    }
+    
+    public function setRemise($remise)
+    {
+        $this->remise = $remise;
+    }
\ No newline at end of file
diff --git a/class/ligneordonnance.php b/class/ligneordonnance.php
new file mode 100644
index 0000000..a172c9a
--- /dev/null
+++ b/class/ligneordonnance.php
@@ -0,0 +1,48 @@
+<?php
+
+class LigneOrdonnance extends Objet
+{
+    protected $ordonnance;
+    protected $produit;
+    protected $quantite;
+    protected $instruction;
+
+    public function ordonnance()
+    {
+        return $this->ordonnance;
+    }
+    
+    public function setOrdonnance($ordonnance)
+    {
+        $this->ordonnance = $ordonnance;
+    }
+
+    public function produit()
+    {
+        return $this->produit;
+    }
+    
+    public function setProduit($produit)
+    {
+        $this->produit = $produit;
+    }
+
+    public function quantite()
+    {
+        return $this->quantite;
+    }
+    
+    public function setQuantite($quantite)
+    {
+        $this->quantite = $quantite;
+    }
+
+    public function instruction()
+    {
+        return $this->instruction;
+    }
+    
+    public function setInstruction($instruction)
+    {
+        $this->instruction = $instruction;
+    }
\ No newline at end of file
-- 
GitLab