-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFoodItemDTO.java
82 lines (62 loc) · 1.6 KB
/
FoodItemDTO.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//Class: CST8288//
//Section: 033//
//Professor: Islam Gomaa//
//Assignment: Final Project//
//Date: 23/7/2024//
//Authors: Jake Elliott, Navjot Kaur, Heeseok Yang, Scott Valair//
package database;
import java.sql.Date;
public class FoodItemDTO {
private String foodId;
private String foodName;
private int foodQuantity;
private double foodCost;
private Date foodExpiry;
private String retailerId;
public FoodItemDTO() {
}
public FoodItemDTO(String foodId, String foodName, int foodQuantity, double foodCost, Date foodExpiry, String retailerId) {
this.foodId = foodId;
this.foodName = foodName;
this.foodQuantity = foodQuantity;
this.foodCost = foodCost;
this.foodExpiry = foodExpiry;
this.retailerId = retailerId;
}
public String getFoodId() {
return foodId;
}
public void setFoodId(String foodId) {
this.foodId = foodId;
}
public String getFoodName() {
return foodName;
}
public void setFoodName(String foodName) {
this.foodName = foodName;
}
public int getFoodQuantity() {
return foodQuantity;
}
public void setFoodQuantity(int foodQuantity) {
this.foodQuantity = foodQuantity;
}
public double getFoodCost() {
return foodCost;
}
public void setFoodCost(double foodCost) {
this.foodCost = foodCost;
}
public Date getFoodExpiry() {
return foodExpiry;
}
public void setFoodExpiry(Date foodExpiry) {
this.foodExpiry = foodExpiry;
}
public String getRetailerId() {
return retailerId;
}
public void setRetailerId(String retailerId) {
this.retailerId = retailerId;
}
}