diff --git a/MCTG/Model/Ingredient.cs b/MCTG/Model/Ingredient.cs
index 6efcd19..cc3303c 100644
--- a/MCTG/Model/Ingredient.cs
+++ b/MCTG/Model/Ingredient.cs
@@ -8,5 +8,39 @@ namespace Model
{
internal class Ingredient
{
+ #region Attributes
+ ///
+ /// Name of the ingredient
+ ///
+ private string name;
+ ///
+ /// get the quatity of ingredient
+ ///
+ private Quantity quantity;
+
+ #endregion
+
+ #region
+ public string Name
+ {
+ get => name;
+ set
+ {
+ if (value == null)
+ {
+ throw new ArgumentNullException("Impossible de ne pas avoir de nom pour l'ingrédient");
+ }
+ }
+ }
+
+ public Quantity QuantityP
+ {
+ get => quantity;
+ set => quantity = value;
+ }
+
+ #endregion
+
+
}
}
diff --git a/MCTG/Model/Quantity.cs b/MCTG/Model/Quantity.cs
new file mode 100644
index 0000000..d59a3a6
--- /dev/null
+++ b/MCTG/Model/Quantity.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Model
+{
+ internal class Quantity
+ {
+ }
+}
diff --git a/MCTG/Model/Unit.cs b/MCTG/Model/Unit.cs
new file mode 100644
index 0000000..297c633
--- /dev/null
+++ b/MCTG/Model/Unit.cs
@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Model
+{
+ public enum Unit
+ { Unit, kG, mG, G, L, cL, mL };
+}