📄 dept.java
字号:
package com.yiboit.cfss.dept;
public class Dept {
private int deptId;
private String deptName;
private String deptDescription;
public Dept() {
super();
}
public Dept(int deptId, String deptName, String deptDescription) {
super();
this.deptId = deptId;
this.deptName = deptName;
this.deptDescription = deptDescription;
}
public String getDeptDescription() {
return deptDescription;
}
public int getDeptId() {
return deptId;
}
public String getDeptName() {
return deptName;
}
public void setDeptDescription(String deptDescription) {
this.deptDescription = deptDescription;
}
public void setDeptId(int deptId) {
this.deptId = deptId;
}
public void setDeptName(String deptName) {
this.deptName = deptName;
}
@Override
public String toString() {
return deptId + "\t" + deptName + "\t" + deptDescription;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -