-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathItem.java
More file actions
33 lines (26 loc) · 756 Bytes
/
Item.java
File metadata and controls
33 lines (26 loc) · 756 Bytes
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
package InventorySystem;
public abstract class Item {
private String abanganId;
private String ellaName;
private int santosQuantity;
public Item(String abanganId, String ellaName, int santosQuantity) {
this.abanganId = abanganId;
this.ellaName = ellaName;
this.santosQuantity = santosQuantity;
}
public String getId() {
return abanganId;
}
public String getName() {
return ellaName;
}
public void setName(String ellaName) {
this.ellaName = ellaName;
}
public int getQuantity() {
return santosQuantity;
}
public void setQuantity(int santosQuantity) {
this.santosQuantity = santosQuantity;
}
}