package it.polito.oop.futsal;
public class Associate {
private String first;
private String last;
private String mobile;
private int id;
private boolean served = false;
public Associate(int id, String first, String last, String mobile) {
this.id = id;
this.first = first;
this.last = last;
this.mobile = mobile;
}
public String getFirst() {
return first;
}
public String getMobile() {
return mobile;
}
public String getLast() {
return last;
}
public int getId() {
return id;
}
public void setServed() {
this.served = true;
}
public boolean isServed() {
return served;
}
}