import java.sql.Date;
import org.apache.log4j.Logger;
public class MyUser implements Serializable
{
private final static long TOTAL_TIMES = ((long)90) * 24 * 60 * 60 * 1000;
protected static Logger mylogger = Logger.getLogger(MyUser.class);
private int id;
private
String username;
private String lastnm;
private String firstnm;
private String nameinit;
private byte[] hash;
private int type;
private boolean disable = false;
private Date updateDate;
//here are getter and setter methods for the attributes
//toString method
public String toString()
{
StringBuffer sb = new StringBuffer();
sb.append(getId());
sb.append(":");
sb.append(getUsername());
sb.append(":");
sb.append(getLastnm());
sb.append(":");
sb.append(getFirstnm());
sb.append(":");
sb.append(getType());
return sb.toString();
}
}