-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModelData.java
More file actions
58 lines (39 loc) · 1014 Bytes
/
Copy pathModelData.java
File metadata and controls
58 lines (39 loc) · 1014 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
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
package POSmain;
public class ModelData {
public String getMonth() {
return month;
}
public void setMonth(String month) {
this.month = month;
}
public double getAmount() {
return amount;
}
public void setAmount(double amount) {
this.amount = amount;
}
public double getCost() {
return cost;
}
public void setCost(double cost) {
this.cost = cost;
}
public double getProfit() {
return profit;
}
public void setProfit(double profit) {
this.profit = profit;
}
public ModelData(String month, double amount, double cost, double profit){
this.month = month;
this.amount = amount;
this.cost = cost;
this.profit = profit;
}
public ModelData(){
}
private String month;
private double amount;
private double cost;
private double profit;
}