Skip to content
Snippets Groups Projects
Commit 2c600b65 authored by Stian Lyng's avatar Stian Lyng
Browse files

add model

parent 701b0eac
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment