📄 staff.java
字号:
package bean;
public class Staff {
private String staffId;
private String password = null;
private String f_name = null;
private String l_name = null;
private String address = null;
private String tele = null;
private String birth = null;
private String sex = null;
private String MIN = null;
private String position = null;
private String salary_type = null;
private String contract_type = null;
private int hours = 0;
private String wardid = null;
private float salary;
private String paidtype;
public Staff(String password,String f_name,String l_name,String address,
String tele,String birth,String sex,String MIN,String position,
String salary_type,String contract_type,int hours,
String wardid,float salary,String paidtype){
this.f_name = f_name;
this.address = address;
this.tele = tele;
this.birth = birth;
this.sex = sex;
this.MIN = MIN;
this.position = position;
this.salary_type = salary_type;
this.contract_type = contract_type;
this.hours = hours;
this.wardid = wardid;
this.password = password;
this.salary = salary;
this.paidtype = paidtype;
}
public void setStaffId(String staffId){
this.staffId = staffId;
}
public String getPassword(){
return this.password ;
}
public String getStaffId(){
return this.staffId ;
}
public String getF_name(){
return this.f_name ;
}
public String getL_name(){
return this.l_name ;
}
public String getAddress(){
return this.address ;
}
public String getTele(){
return this.tele ;
}
public String getBirth(){
return this.birth ;
}
public String getSex(){
return this.sex ;
}
public String getMIN(){
return this.MIN ;
}
public String getPosition(){
return this.position ;
}
public String getSalary_type(){
return this.salary_type ;
}
public String getContract_type(){
return this.contract_type ;
}
public int getHour(){
return this.hours ;
}
public String getWardid(){
return this.wardid ;
}
public float getSalary(){
return salary;
}
public String getPaidType(){
return paidtype;
}
public void setHours(int hours){
this.hours = hours;
}
public void setAddress(String address){
this.address = address;
}
public void setSalary(float salary){
this.salary = salary;
}
public void setContract_type(String contract_type){
this.contract_type = contract_type;
}
public void setPaidType(String paidtype){
this.paidtype = paidtype;
}
public void setPosition(String position){
this.position = position;
}
public void setTele(String tele){
this.tele = tele;
}
public void setWardid(String wardid){
this.wardid = wardid;
}
public void setSalary_type(String salary_type){
this.salary_type = salary_type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -