crmrole.java

来自「基于SSH (struts+spring+hibernate)框架设计的 C」· Java 代码 · 共 81 行

JAVA
81
字号
package com.csu.crm.common.vo;

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

/**
 * CrmRole generated by MyEclipse Persistence Tools
 */

public class CrmRole implements java.io.Serializable {

	// Fields

	private String roleId;

	private String role;

	private String description;

	private Set crmRoleRights = new HashSet(0);

	private Set crmEmpRoles = new HashSet(0);

	// Constructors

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

	/** full constructor */
	public CrmRole(String role, String description, Set crmRoleRights,
			Set crmEmpRoles) {
		this.role = role;
		this.description = description;
		this.crmRoleRights = crmRoleRights;
		this.crmEmpRoles = crmEmpRoles;
	}

	// Property accessors

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}

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

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

	public Set getCrmRoleRights() {
		return this.crmRoleRights;
	}

	public void setCrmRoleRights(Set crmRoleRights) {
		this.crmRoleRights = crmRoleRights;
	}

	public Set getCrmEmpRoles() {
		return this.crmEmpRoles;
	}

	public void setCrmEmpRoles(Set crmEmpRoles) {
		this.crmEmpRoles = crmEmpRoles;
	}

}

⌨️ 快捷键说明

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