package com.andreiolar.abms.shared;
import com.google.gwt.user.client.rpc.IsSerializable;
public class User implements IsSerializable {
private int id;
private String username;
private String password;
private String type;
private User() {
}
public User(int id, String username, String password, String type) {
this.id = id;
this.username = username;
this.password = password;
this.type = type;
}
public int getId() {
return id;
}
public String getUsername() {
return username;
}
public String getPassword() {
return password;
}
public void setId(int id) {
this.id = id;
}
public void setUsername(String username) {
this.username = username;
}
public void setPassword(String password) {
this.password = password;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}