移动计费管理软件

源代码在线查看: privilege.java

软件大小: 949 K
上传用户: dongchenxi2
关键词: 移动 计费 管理软件
下载地址: 免注册下载 普通下载 VIP

相关代码

				package yyxtong.hibernate.pojo;
				
				import java.util.HashSet;
				import java.util.Set;
				
				/**
				 * Privilege entity.
				 * 
				 * @author MyEclipse Persistence Tools
				 */
				
				public class Privilege implements java.io.Serializable {
				
					// Fields
				
					private Integer id;
					private String privilege;
					private Set roles = new HashSet(0);
				
					// Constructors
				
					/** default constructor */
					public Privilege() {
					}
				
					/** full constructor */
					public Privilege(String privilege, Set roles) {
						this.privilege = privilege;
						this.roles = roles;
					}
				
					// Property accessors
				
					public Integer getId() {
						return this.id;
					}
				
					public void setId(Integer id) {
						this.id = id;
					}
				
					public String getPrivilege() {
						return this.privilege;
					}
				
					public void setPrivilege(String privilege) {
						this.privilege = privilege;
					}
				
					public Set getRoles() {
						return this.roles;
					}
				
					public void setRoles(Set roles) {
						this.roles = roles;
					}
				
				}			

相关资源