19 lines
321 B
Java
19 lines
321 B
Java
|
public class Vote {
|
||
|
|
||
|
private String voter;
|
||
|
private int points;
|
||
|
|
||
|
public Vote(String voter, int points) {
|
||
|
this.voter = voter;
|
||
|
this.points = points;
|
||
|
}
|
||
|
|
||
|
public String getVoterName() {
|
||
|
return this.voter;
|
||
|
}
|
||
|
|
||
|
public int getPoints() {
|
||
|
return this.points;
|
||
|
}
|
||
|
}
|