employee.java

来自「权限组件的java代码写法例子下载」· Java 代码 · 共 74 行

JAVA
74
字号
package com.parddu.crm.entity;

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

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

public class Employee implements java.io.Serializable {

	// Fields

	private Integer empId;
	private String empName;
	private String empPwd;
	private Set empRoles = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Employee(String empName, String empPwd) {
		this.empName = empName;
		this.empPwd = empPwd;
	}

	/** full constructor */
	public Employee(String empName, String empPwd, Set empRoles) {
		this.empName = empName;
		this.empPwd = empPwd;
		this.empRoles = empRoles;
	}

	// Property accessors

	public Integer getEmpId() {
		return this.empId;
	}

	public void setEmpId(Integer empId) {
		this.empId = empId;
	}

	public String getEmpName() {
		return this.empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpPwd() {
		return this.empPwd;
	}

	public void setEmpPwd(String empPwd) {
		this.empPwd = empPwd;
	}

	public Set getEmpRoles() {
		return this.empRoles;
	}

	public void setEmpRoles(Set empRoles) {
		this.empRoles = empRoles;
	}

}

⌨️ 快捷键说明

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