package edu.gatech.nutrack.model;

public class User {
	private String username, password, email;
	private int type;
	
	public User(String username, String password, String email, int type) {
		this.username = username;
		this.password = password;
		this.email = email;
		this.type = type;
	}

	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 getEmail() {
		return email;
	}

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

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}

@@ -109,16 +109,35 @@
 nt type;
+  // 0 is physician
 %0A%09%0A%09publ
@@ -296,32 +296,77 @@
 .type = type;%0A%09%7D
+%0A%09%0A%09public User() %7B%0A%09%09this(%22%22, %22%22, %22%22, 0);%0A%09%7D
 %0A%0A%09public String

update user with default constructor