📄 master.java
字号:
/**
* Title 新闻管理系统
* @author: 陈钢
* Company: http://www.pcccp.com
* Copyright: Copyright (c) 2003
* @version 1.0
* 管理员表中的一些字段
*/
package news.admin;
import news.database.DBConnect;
import news.news.*;
import java.util.*;
public class Master{
public String userName,userPassword,joindate;
public int ID,total,classid,loginnum;
public Master(){};
public int getID(){
return ID;
}
public String getUserName(){
return userName;
}
public String getUserPassword(){
return userPassword;
}
public String getJoindate(){
return joindate;
}
public int getTotal(){
return total;
}
public int getClassid(){
return classid;
}
public int getLoginnum(){
return loginnum;
}
//取管理员的ID
public void setID(int i){
this.ID = i;
}
//取管理员的用户名
public void setUserName(String s){
this.userName = s;
}
//取管理员的密码
public void setUserPassword(String s){
this.userPassword = s;
}
//取管理员的加入时间
public void setJoindate(String s){
this.joindate = s;
}
//取管理员发的新闻数
public void setTotal(int i){
this.total = i;
}
//取管理员所在的栏目
public void setClassid(int i){
this.classid = i;
}
//取管理员的登陆次数
public void setLoginnum(int i){
this.loginnum = i;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -