From 07fb5b7bcd5780c8d7de6972a2ef8daf2fb3d337 Mon Sep 17 00:00:00 2001
From: clement <cmercier@etu.utc.fr>
Date: Wed, 11 Jun 2014 22:59:27 +0200
Subject: [PATCH] add consommable.php

---
 class/consommable.php | 49 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 class/consommable.php

diff --git a/class/consommable.php b/class/consommable.php
new file mode 100644
index 0000000..e4b7b59
--- /dev/null
+++ b/class/consommable.php
@@ -0,0 +1,49 @@
+<?php
+
+class Consommable
+{
+    private $ref;
+    private $nom;
+    private $prix;
+    private $type;
+    
+    public function ref()
+    {
+        return $this->ref;
+    }
+    
+    public function setRef($ref)
+    {
+        $this->ref = $ref;
+    }
+
+    public function nom()
+    {
+        return $this->nom;
+    }
+    
+    public function setNom($nom)
+    {
+        $this->nom = $nom;
+    }
+
+    public function prix()
+    {
+        return $this->prix;
+    }
+    
+    public function setPrix($prix)
+    {
+        $this->prix = $prix;
+    }
+
+    public function type()
+    {
+        return $this->type;
+    }
+    
+    public function setType($type)
+    {
+        $this->type = $type;
+    }
+}
-- 
GitLab