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 {
String date;
String user;
String mealtyp;
String deserttyp;
String date; //date for the meal, not the day it was ordered
String user; //phone number of the user account
String mealtyp; //meat, vegi or vegan
String deserttyp; //desert or vegan desert
Order (String date, String user, String mealtyp, String deserttyp)
{