关于公司职工系统java代码的信息( 九 )


this.sex = sex;
this.department = department;
this.basic_salary = basic_salary;
this.extra_salary = extra_salary;
this.classify = classify;
}
public Employee(){
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public char getSex() {
return sex;
}
public void setSex(char sex) {
this.sex = sex;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public int getBasic_salary() {
return basic_salary;
}
public void setBasic_salary(int basic_salary) {
this.basic_salary = basic_salary;
}
public int getExtra_salary() {
return extra_salary;
}
public void setExtra_salary(int extra_salary) {
this.extra_salary = extra_salary;
}
public String getClassify() {
return classify;
}
public void setClassify(String classify) {
this.classify = classify;
}
public String toString(){
String str ="[员工ID:"+id+"|姓名:"+name+"|性别:"+sex+
"|部门:"+department+"|基本工资:+"+basic_salary+
"|薪金:"+extra_salary+"|类别:"+classify+"]";
return str;
}
}
公司职工系统java代码的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于、公司职工系统java代码的信息别忘了在本站进行查找喔 。

推荐阅读