首页>代码>Java swing实现小说网站客户端>/MySQLTest/src/Adminmodel/User.java
package Adminmodel;
/*
 * 用户实体
 */
public class User {
private int userid;
private String username;//用户名
private String password;//密码
private String name;//姓名
private String sex;//性别
private String telephone;//电话
private String state;//状态
private String code;
//默认构造
public User() {
	super();
	// TODO Auto-generated constructor stub
}

//添加数据的构造方法
public User(String username, String password, String name, String sex, String telephone, String state, String code) {
	super();
	this.username = username;
	this.password = password;
	this.name = name;
	this.sex = sex;
	this.telephone = telephone;
	this.state = state;
	this.code = code;
}



public int getUserid() {
	return userid;
}

//查询数据的构造方法
public User(String username, String name, String sex, String state) {
	super();
	this.username = username;
	this.name = name;
	this.sex = sex;
	this.state = state;
}


//修改数据的构造方法
public User(int userid, String username, String password, String name, String sex, String telephone, String state) {
	super();
	this.userid = userid;
	this.username = username;
	this.password = password;
	this.name = name;
	this.sex = sex;
	this.telephone = telephone;
	this.state = state;
}


public void setUserid(int userid) {
	this.userid = userid;
}


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 getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getSex() {
	return sex;
}
public void setSex(String sex) {
	this.sex = sex;
}
public String getTelephone() {
	return telephone;
}
public void setTelephone(String telephone) {
	this.telephone = telephone;
}


public String getState() {
	return state;
}

public void setState(String state) {
	this.state = state;
}

public String getCode() {
	return code;
}

public void setCode(String code) {
	this.code = code;
}


}
最近下载更多
jiangneng666  LV2 2023年10月20日
limuzi  LV7 2023年6月12日
D  LV5 2023年3月5日
1424841000  LV2 2023年1月12日
ming_123_9715  LV23 2022年12月4日
huayan  LV9 2022年6月29日
llovezrr  LV1 2022年6月8日
jery2018  LV5 2022年5月26日
张子墨  LV2 2022年5月11日
wyx065747  LV67 2022年5月7日
最近浏览更多
玖零定制问题修复  LV34 4月4日
yeanan  LV1 3月28日
luochenQAQ 3月16日
暂无贡献等级
564782135l  LV7 1月22日
768881787  LV7 1月10日
jkjfdgbkl  LV2 2023年11月1日
jiangneng666  LV2 2023年10月20日
graceful 2023年10月18日
暂无贡献等级
SX520886  LV2 2023年10月9日
wersdfs  LV1 2023年9月4日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友