@Component("user_info")
public class UserInfo {
	
	public static final int NOT_EXIST_USER = -1;
	public static final int NOT_MATCH_PASS = 0;
	public static final int EXIST_USER = 1;
	
	int result = NOT_EXIST_USER;
	
	String user_id;
	String user_pass;
	String user_name;
	String user_address;
	String user_phone;
	String user_email;
	String user_sex;
	int user_age;
	
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_pass() {
		return user_pass;
	}
	public void setUser_pass(String user_pass) {
		this.user_pass = user_pass;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getUser_address() {
		return user_address;
	}
	public void setUser_address(String user_address) {
		this.user_address = user_address;
	}
	public String getUser_phone() {
		return user_phone;
	}
	public void setUser_phone(String user_phone) {
		this.user_phone = user_phone;
	}
	public String getUser_email() {
		return user_email;
	}
	public void setUser_email(String user_email) {
		this.user_email = user_email;
	}
	public String getUser_sex() {
		return user_sex;
	}
	public void setUser_sex(String user_sex) {
		this.user_sex = user_sex;
	}
	public int getUser_age() {
		return user_age;
	}
	public void setUser_age(int user_age) {
		this.user_age = user_age;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
}

'강의노트 > Spring' 카테고리의 다른 글

[dao]IUserDao.java  (0) 2013.09.04
[resources]user_query.xml  (0) 2013.09.04
spring 전체개요  (0) 2013.08.29
로그인 파일생성 순서  (0) 2013.08.28
@  (0) 2013.08.23