roles.java

来自「教务管理系统」· Java 代码 · 共 76 行

JAVA
76
字号
package com.zbaccp.ea.entity;

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

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

public class Roles implements java.io.Serializable {

	// Fields

	private String id;
	private String name;
	private String description;
	private Set employeeroleses = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Roles(String id, String name, String description) {
		this.id = id;
		this.name = name;
		this.description = description;
	}

	/** full constructor */
	public Roles(String id, String name, String description, Set employeeroleses) {
		this.id = id;
		this.name = name;
		this.description = description;
		this.employeeroleses = employeeroleses;
	}

	// Property accessors

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

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

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

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

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getEmployeeroleses() {
		return this.employeeroleses;
	}

	public void setEmployeeroleses(Set employeeroleses) {
		this.employeeroleses = employeeroleses;
	}

}

⌨️ 快捷键说明

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