From ce76f361b0ac72b63b10b8e2153046bae96afde2 Mon Sep 17 00:00:00 2001
From: Anders Austlid <andemau@ntnu.no>
Date: Tue, 18 Apr 2023 13:48:49 +0200
Subject: [PATCH] Recipe model record class added

---
 .../idatt2016/v233/SmartMat/model/Recipe.java     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/main/java/ntnu/idatt2016/v233/SmartMat/model/Recipe.java

diff --git a/src/main/java/ntnu/idatt2016/v233/SmartMat/model/Recipe.java b/src/main/java/ntnu/idatt2016/v233/SmartMat/model/Recipe.java
new file mode 100644
index 00000000..c5ee55b6
--- /dev/null
+++ b/src/main/java/ntnu/idatt2016/v233/SmartMat/model/Recipe.java
@@ -0,0 +1,15 @@
+package ntnu.idatt2016.v233.SmartMat.model;
+
+/**
+ * Recipe is a record class representing a recipe in the system.
+ *
+ * @author Anders
+ * @version 1.0
+ * @since 04.04.2023
+ *
+ * @param id
+ * @param name
+ * @param description
+ */
+public record Recipe(long id, String name, String description) {
+}
-- 
GitLab