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

change to record

parent 287e0b18
No related branches found
No related tags found
No related merge requests found
package ntnu.idatt2016.v233.SmartMat.model;
import lombok.Setter;
import lombok.Getter;
/**
* This class represents a shopping list
......@@ -9,16 +7,8 @@ import lombok.Getter;
* @author Stian Lyng
* @version 1.0
*
* @param ShoppingListID the id of the shopping list
* @param GroupID the id of the groupID
*/
public class ShoppingList {
/**
* The ID of the shopping list
*/
private int ShoppingListID;
/**
* The id of the group the shopping list belongs to
*/
private int groupID;
public record ShoppingList(long ShoppingListID, long groupID) {
}
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