首页>代码>Java swing实现小说网站客户端>/MySQLTest/src/Adminmodel/Admin.java
package Adminmodel;
/*
 * 管理员实体
 */
public class Admin {
private int userid;//编号
private String username;//用户名
private String password;//密码
private String state;
public String getState() {
	return state;
}

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

//生成构造方法
public Admin() {
	super();
	// TODO Auto-generated constructor stub
}



//判断是否为管理员的构造方法


public Admin(String username, String password, String state) {
	super();
	this.username = username;
	this.password = password;
	this.state = state;
}

//登录功能构造方法
public Admin(String username, String password) {
	super();
	this.username = username;
	this.password = password;
}



public int getUserid() {
	return userid;
}


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 toString() {
	return state;
}
}
最近下载更多
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日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友