department.java

来自「用于银行全面掌控公司及各个部门的员工信息与设备资料」· Java 代码 · 共 119 行

JAVA
119
字号
package com.bank.hibernate.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Department generated by MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

	// Fields

	private Integer depId;
	private Unit unit;
	private String depIds;
	private String depName;
	private Integer depType;
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Department() {
	}

	/** minimal constructor */
	public Department(Integer depId) {
		this.depId = depId;
	}
	
	

	public Department(String depName) {
		super();
		this.depName = depName;
	}

	/** full constructor */
	public Department(Integer depId, Unit unit, String depIds, String depName,
			Integer depType, Set employees) {
		this.depId = depId;
		this.unit = unit;
		this.depIds = depIds;
		this.depName = depName;
		this.depType = depType;
		this.employees = employees;
	}

	
	
	// Property accessors

	public Department(Integer depId,  String depIds, String depName,  Unit unit, Integer depType) {
		super();
		this.depId = depId;
		this.unit = unit;
		this.depIds = depIds;
		this.depName = depName;
		this.depType = depType;
	}

	public Department(String depIds, String depName, Unit unit, Integer depType) {
		super();
		this.unit = unit;
		this.depIds = depIds;
		this.depName = depName;
		this.depType = depType;
	}

	public Integer getDepId() {
		return this.depId;
	}

	public void setDepId(Integer depId) {
		this.depId = depId;
	}

	public Unit getUnit() {
		return this.unit;
	}

	public void setUnit(Unit unit) {
		this.unit = unit;
	}

	public String getDepIds() {
		return this.depIds;
	}

	public void setDepIds(String depIds) {
		this.depIds = depIds;
	}

	public String getDepName() {
		return this.depName;
	}

	public void setDepName(String depName) {
		this.depName = depName;
	}

	public Integer getDepType() {
		return this.depType;
	}

	public void setDepType(Integer depType) {
		this.depType = depType;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?