view menu

This commit is contained in:
2026-06-30 10:29:17 +03:30
parent acb1983ae3
commit 735940a4e0
4 changed files with 129 additions and 11 deletions
+29 -4
View File
@@ -3,13 +3,38 @@ package dev.model;
public class MenuItem {
private int id;
private String name;
private String description;
private double price;
private String category;
public MenuItem(int id , String name , String description , double price , String category){
this.id = id;
this.name=name;
this.description=description;
this.price=price;
this.category=category;
}
public int getId() {
return id;
}
public double getPrice() {
return price;
}
public String getCategory() {
return category;
}
public String getDescription() {
return description;
}
public String getName() {
return name;
}
}