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 {
|
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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user