diff --git a/src/main/java/ntnu/idatt2016/v233/SmartMat/model/Allergy.java b/src/main/java/ntnu/idatt2016/v233/SmartMat/model/Allergy.java new file mode 100644 index 0000000000000000000000000000000000000000..845d776c3eb6c81a2e17dbc3227f35bd0045ef4f --- /dev/null +++ b/src/main/java/ntnu/idatt2016/v233/SmartMat/model/Allergy.java @@ -0,0 +1,13 @@ +package ntnu.idatt2016.v233.SmartMat.model; + +/** + * This is a record class representing an allergy + * + * @author Stian Lyng + * @version 1.0 + * + * @param name The name of the allergy + * @param description The description of the allergy + */ +public record Allergy(String name, String description) { +} \ No newline at end of file