⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user.java

📁 JAVA +MySql小型用户管理系统 运用Strust+Spring+Hibernate 3框架 实现mvc jsp融合JavaScript+Ajax 技术 程序还有待完善
💻 JAVA
字号:
package com.test.struts.domain;


/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String username;
	private String password;
	private String card;
	private String sex;
	private String email;
	private String birthday;
	private String telephone;
	private String questionone;
	private String answerone;
	private String questiontwo;
	private String answertwo;
	private Integer popedom_id;
	
	// Constructors

	/** default constructor */
	public User() {
	}
	
	public User(String username) {
		this.username =username;
	}
	
	public User(String username,String password){
		this.username = username;
		this.password = password;
	}

	public User(String username, String password,
			String sex, String birthday,String email, 
			String telephone, String card, String questionone, String answerone,
			String questiontwo, String answertwo,Integer popedom_id) {
		this.username = username;
		this.password = password;
		this.card = card;
		this.sex = sex;
		this.email = email;
		this.birthday = birthday;
		this.telephone = telephone;
		this.questionone = questionone;
		this.answerone = answerone;
		this.questiontwo = questiontwo;
		this.answertwo = answertwo;
		this.popedom_id = popedom_id;
	}
	
	/** full constructor */
	public User(String username, String password,
			String sex, String birthday,String email, 
			String telephone, String card, String questionone, String answerone,
			String questiontwo, String answertwo) {
		this.username = username;
		this.password = password;
		this.card = card;
		this.sex = sex;
		this.email = email;
		this.birthday = birthday;
		this.telephone = telephone;
		this.questionone = questionone;
		this.answerone = answerone;
		this.questiontwo = questiontwo;
		this.answertwo = answertwo;
	}
	
	public User(Integer id,String username, String password,
			String sex, String birthday,String email, 
			String telephone, String card, String questionone, String answerone,
			String questiontwo, String answertwo,Integer popedom_id) {
		this.id=id;
		this.username = username;
		this.password = password;
		this.card = card;
		this.sex = sex;
		this.email = email;
		this.birthday = birthday;
		this.telephone = telephone;
		this.questionone = questionone;
		this.answerone = answerone;
		this.questiontwo = questiontwo;
		this.answertwo = answertwo;
		this.popedom_id=popedom_id;
	}

	// Property accessors


	public Integer getId() {
		return this.id;
	}

	public Integer getPopedom_id() {
		return popedom_id;
	}

	public void setPopedom_id(Integer popedom_id) {
		this.popedom_id = popedom_id;
	}

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

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCard() {
		return this.card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return this.email;
	}

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

	public String getBirthday() {
		return this.birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getQuestionone() {
		return this.questionone;
	}

	public void setQuestionone(String questionone) {
		this.questionone = questionone;
	}

	public String getAnswerone() {
		return this.answerone;
	}

	public void setAnswerone(String answerone) {
		this.answerone = answerone;
	}

	public String getQuestiontwo() {
		return this.questiontwo;
	}

	public void setQuestiontwo(String questiontwo) {
		this.questiontwo = questiontwo;
	}

	public String getAnswertwo() {
		return this.answertwo;
	}

	public void setAnswertwo(String answertwo) {
		this.answertwo = answertwo;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -