?? 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 + -