⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emp.java

📁 移动计费管理软件
💻 JAVA
字号:
package yyxtong.hibernate.pojo;

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

/**
 * Emp entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Emp implements java.io.Serializable {

	// Fields

	private Integer id;
	private Dept dept;
	private String name;
	private Integer phone;
	private String email;
	private Integer anycoll;
	private String fax;
	private String msg;
	private String position;
	private Set roles = new HashSet(0);
	private Set pcrooms = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Emp(Dept dept, String name, String position) {
		this.dept = dept;
		this.name = name;
		this.position = position;
	}

	/** full constructor */
	public Emp(Dept dept, String name, Integer phone, String email,
			Integer anycoll, String fax, String msg, String position,
			Set roles, Set pcrooms) {
		this.dept = dept;
		this.name = name;
		this.phone = phone;
		this.email = email;
		this.anycoll = anycoll;
		this.fax = fax;
		this.msg = msg;
		this.position = position;
		this.roles = roles;
		this.pcrooms = pcrooms;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Dept getDept() {
		return this.dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPhone() {
		return this.phone;
	}

	public void setPhone(Integer phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getAnycoll() {
		return this.anycoll;
	}

	public void setAnycoll(Integer anycoll) {
		this.anycoll = anycoll;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getMsg() {
		return this.msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Set getRoles() {
		return this.roles;
	}

	public void setRoles(Set roles) {
		this.roles = roles;
	}

	public Set getPcrooms() {
		return this.pcrooms;
	}

	public void setPcrooms(Set pcrooms) {
		this.pcrooms = pcrooms;
	}

}

⌨️ 快捷键说明

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