Order Klasse korrigiert & kommentiert
This commit is contained in:
parent
644df46a7a
commit
3c51ebbc21
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user