dept.java

来自「分为经理和出纳2个权限」· Java 代码 · 共 51 行

JAVA
51
字号
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 + =
减小字号Ctrl + -
显示快捷键?