-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathItemData.java
More file actions
80 lines (62 loc) · 1.85 KB
/
Copy pathItemData.java
File metadata and controls
80 lines (62 loc) · 1.85 KB
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
package edu.uta.cse5320.dao;
public class ItemData {
private long id;
private String itemName;
private int itemQuantity;
private String imageUrl1;
private String imageUrl2;
private String imageUrl3;
public ItemData() {
}
public ItemData(String itemName, int itemQuantity, String imageUrl1, String imageUrl2, String imageUrl3) {
this.itemName = itemName;
this.itemQuantity = itemQuantity;
this.imageUrl1 = imageUrl1;
this.imageUrl2 = imageUrl2;
this.imageUrl3 = imageUrl3;
}
public ItemData(long id, String itemName, int itemQuantity, String imageUrl1, String imageUrl2, String imageUrl3) {
this.id = id;
this.itemName = itemName;
this.itemQuantity = itemQuantity;
this.imageUrl1 = imageUrl1;
this.imageUrl2 = imageUrl2;
this.imageUrl3 = imageUrl3;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getItemName() {
return itemName;
}
public void setItemName(String itemName) {
this.itemName = itemName;
}
public int getItemQuantity() {
return itemQuantity;
}
public void setItemQuantity(int itemQuantity) {
this.itemQuantity = itemQuantity;
}
public String getImageUrl1() {
return imageUrl1;
}
public void setImageUrl1(String imageUrl1) {
this.imageUrl1 = imageUrl1;
}
public String getImageUrl2() {
return imageUrl2;
}
public void setImageUrl2(String imageUrl2) {
this.imageUrl2 = imageUrl2;
}
public String getImageUrl3() {
return imageUrl3;
}
public void setImageUrl3(String imageUrl3) {
this.imageUrl3 = imageUrl3;
}
}