resources.java

来自「因为许多人出去吃饭都一个人付帐」· Java 代码 · 共 63 行

JAVA
63
字号
package cn.com.sdcncsi.lunch.domain;

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

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

public class Resources implements java.io.Serializable {

	// Fields

	private Integer id;
	private String resourceName;
	private Set authoritieses = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Resources(String resourceName) {
		this.resourceName = resourceName;
	}

	/** full constructor */
	public Resources(String resourceName, Set authoritieses) {
		this.resourceName = resourceName;
		this.authoritieses = authoritieses;
	}

	// Property accessors

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

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

	public String getResourceName() {
		return this.resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public Set getAuthoritieses() {
		return this.authoritieses;
	}

	public void setAuthoritieses(Set authoritieses) {
		this.authoritieses = authoritieses;
	}

}

⌨️ 快捷键说明

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