Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
backend
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
idatt2106-v23-03
backend
Commits
44d64d64
Commit
44d64d64
authored
2 years ago
by
Stian Lyng
Browse files
Options
Downloads
Patches
Plain Diff
change to record
parent
287e0b18
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/ntnu/idatt2016/v233/SmartMat/model/ShoppingList.java
+3
-13
3 additions, 13 deletions
...java/ntnu/idatt2016/v233/SmartMat/model/ShoppingList.java
with
3 additions
and
13 deletions
src/main/java/ntnu/idatt2016/v233/SmartMat/model/ShoppingList.java
+
3
−
13
View file @
44d64d64
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
)
{
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment