📄 staff.java
字号:
/*
* Staff.java
*
* Created on 2006年12月17日, 下午6:13
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package bugtrail.basic;
/**
*
* @author DengDong
*/
public class Staff {
private int staffID;
private String password;
private String name;
private String email;
private int role;
private int department;
private String pswQuestion;
private String pswAnswer;
private String address;
private int phone;
private String remark;
/** Creates a new instance of Staff */
public Staff(){
}
public Staff(String password,String name,String email,int role,
int department,String pswQuestion,String pswAnswer,
String address,int phone,String remark) {
this.password = password;
this.name = name;
this.email = email;
this.role = role;
this.department = department;
this.pswQuestion = pswQuestion;
this.pswAnswer = pswAnswer;
this.address = address;
this.phone = phone;
this.remark = remark;
}
public void addStaffInit(String password,String name,String email,int role,
int department,String address,int phone,String remark) {
this.password = password;
this.name = name;
this.email = email;
this.role = role;
this.department = department;
this.address = address;
this.phone = phone;
this.remark = remark;
}
public void setStaffID(int staffID) {
this.staffID = staffID;
}
public void setPassword(String password) {
this.password = password;
}
public void setName(String name) {
this.name = name;
}
public void setEmail(String email) {
this.email = email;
}
public void setPswAnswer(String pswAnswer) {
this.pswAnswer = pswAnswer;
}
public void setPswQuestion(String pswQuestion) {
this.pswQuestion = pswQuestion;
}
public void setDepartment(int department) {
this.department = department;
}
public void setRole(int role) {
this.role = role;
}
public void setAddress(String address) {
this.address = address;
}
public void setPhone(int phone) {
this.phone = phone;
}
public void setRemark(String remark) {
this.remark = remark;
}
public int getStaffID(){
return staffID;
}
public String getPswAnswer() {
return pswAnswer;
}
public String getPswQuestion() {
return pswQuestion;
}
public int getDepartment() {
return department;
}
public int getRole() {
return role;
}
public String getEmail() {
return email;
}
public String getName() {
return name;
}
public String getPassword() {
return password;
}
public String getAddress(){
return address;
}
public int getPhone(){
return phone;
}
public String getRemark(){
return remark;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -