Order Klasse korrigiert & kommentiert

This commit is contained in:
Sabine Gubitz 2023-01-12 12:20:24 +01:00
parent 644df46a7a
commit 3c51ebbc21

View File

@ -1,8 +1,15 @@
/**
* The class Order is an object class that holds the constructor for order objects.
*
* @author Sabine Gubitz
* @version 1.2
*/
public class Order { public class Order {
String date; String date; //date for the meal, not the day it was ordered
String user; String user; //phone number of the user account
String mealtyp; String mealtyp; //meat, vegi or vegan
String deserttyp; String deserttyp; //desert or vegan desert
Order (String date, String user, String mealtyp, String deserttyp) Order (String date, String user, String mealtyp, String deserttyp)
{ {