text: package com.sivalabs.domain;
  
  import java.io.Serializable;
  import java.util.Date;
  
  /**
   * @author Siva
   * 
   */
  public class User implements Serializable
  {
  	private static final long serialVersionUID = 1L;
  	private Integer id;
  	private String userName;
  	private String password;
  	private String email;
  	private String firstName;
  	private String lastName;
  	private Date dob;
  	private boolean enabled=true;
  	
  
  	public User()
  	{
  	}
  
  	public User(Integer id)
  	{
  		this.id = id;
  	}
  
  	public User(Integer id, String userName, String password, String firstName, String email)
  	{
  		this.id = id;
  		this.userName = userName;
  		this.password = password;
  		this.firstName = firstName;
  		this.email = email;
  	}
  
  	public User(Integer id, String userName, String password, String firstName, String lastName, String email, Date dob)
  	{
  		this.id = id;
  		this.userName = userName;
  		this.password = password;
  		this.firstName = firstName;
  		this.lastName = lastName;
  		this.email = email;
  		this.dob = dob;
  	}
  
  	public Integer getId()
  	{
  		return id;
  	}
  
  	public void setId(Integer id)
  	{
  		this.id = id;
  	}
  
  	public String getUserName()
  	{
  		return userName;
  	}
  
  	public void setUserName(String userName)
  	{
  		this.userName = userName;
  	}
  
  	public String getPassword()
  	{
  		return password;
  	}
  
  	public void setPassword(String password)
  	{
  		this.password = password;
  	}
  
  	public String getFirstName()
  	{
  		return firstName;
  	}
  
  	public void setFirstName(String firstName)
  	{
  		this.firstName = firstName;
  	}
  
  	public String getLastName()
  	{
  		return lastName;
  	}
  
  	public void setLastName(String lastName)
  	{
  		this.lastName = lastName;
  	}
  
  	public String getEmail()
  	{
  		return email;
  	}
  
  	public void setEmail(String email)
  	{
  		this.email = email;
  	}
  
  	public Date getDob()
  	{
  		return dob;
  	}
  
  	public void setDob(Date dob)
  	{
  		this.dob = dob;
  	}
  
  	public boolean isEnabled() {
  		return enabled;
  	}
  
  	public void setEnabled(boolean enabled) {
  		this.enabled = enabled;
  	}
  
  
  }
  