-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReward.java
47 lines (36 loc) · 960 Bytes
/
Reward.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
package com.johar_rewards.johar_rewards;
import java.io.Serializable;
public class Reward implements Serializable {
private String name, date, comment;
private int value;
public Reward(String name, String date, String comment, int value) {
this.name = name;
this.date = date;
this.comment = comment;
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
}