package model;

/*
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * Class that defines the user object.
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
public class User {
	 
	private String username;
	private String password;
	private String id;
	private String email;
	private String firstName;
	private String lastName;
	private String Bday;
	private String gender;

	public User(String username, String password, String id, String email, String firstName, String lastName,
			String bday, String gender) {
		super();
		this.username = username;
		this.password = password;
		this.id = id;
		this.email = email;
		this.firstName = firstName;
		this.lastName = lastName;
		Bday = bday;
		this.gender = gender;
	}
	
	public User(String username, String password)
	{
		this.username = username;
		this.password = password;
	}

	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 getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	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 getBday() {
		return Bday;
	}

	public void setBday(String bday) {
		Bday = bday;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

}

@@ -11,16 +11,41 @@
 del;%0D%0A%0D%0A
+import java.sql.Date;%0D%0A%0D%0A
 /*%0D%0A * ~
@@ -365,22 +365,20 @@
 private 
-String
+Date
  Bday;%0D%0A
@@ -515,22 +515,20 @@
 me,%0D%0A%09%09%09
-String
+Date
  bday, S
@@ -714,18 +714,23 @@
 tName;%0D%0A
-
 %09%09
+this.
 Bday = b
@@ -1671,30 +1671,28 @@
 %0D%0A%0D%0A%09public 
-String
+Date
  getBday() %7B
@@ -1736,22 +1736,20 @@
 setBday(
-String
+Date
  bday) %7B

update user class