📄 privilege.java
字号:
package com.wygl.xtgl.domain;import java.io.Serializable;import java.util.Set;/** * @author author </a> * @version 0.0.0001 * * @hibernate.class * table="XTGL_PRIVILEGE" * */public class Privilege implements Serializable{ private String id; //权限ID private String name; //显示名称 private String url; //url连接 private Model model; //资源类别 private String icon; //图标资源 private String parent_id; //父节点 private int sequence; //优先级 private String bz; //权限标志 private String islink; //权限标志 private Set rolePrivileges; public String getIslink() { return islink; } public void setIslink(String islink) { this.islink = islink; } public String getParent_id() { return parent_id; } public void setParent_id(String parent_id) { this.parent_id = parent_id; } /** * @hibernate.id * generator-class="uuid.hex" * column="PRIVILEGE_ID" * length="36" * @return Returns the id. */ public String getId() { return id; } /** * @param id The id to set. */ public void setId(String id) { this.id = id; } /** * @hibernate.property * column="BZ" * length="10" */ public String getBz() { return bz; } public void setBz(String bz) { this.bz = bz; } /** * @hibernate.property * column="NAME" * length="25" * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name; } /** * @hibernate.property * column="URL" * length="60" * * @return Returns the url. */ public String getUrl() { return url; } /** * @param url The url to set. */ public void setUrl(String url) { this.url = url; } /** * @hibernate.many-to-one * name = "model" * column = "MODEL_ID" * @return Returns the model. */ public Model getModel() { return model; } /** * @param model The model to set. */ public void setModel(Model model) { this.model = model; } /** * @hibernate.set * lazy="true" * inverse="true" * cascade="all" * @hibernate.collection-key * column="PRIVILIEGE_ID" * @hibernate.collection-one-to-many * class="com.oliveinfo.xxwlyx.xtgl.domain.RolePrivilege" * @return Set */ public Set getRolePrivileges() { return rolePrivileges; } /** * @param rolePrivileges The rolePrivileges to set. */ public void setRolePrivileges(Set rolePrivileges) { this.rolePrivileges = rolePrivileges; } /** * @hibernate.property * column="ICON" * length="60" * @return Returns the icon. */ public String getIcon() { return icon; } /** * @param icon The icon to set. */ public void setIcon(String icon) { this.icon = icon; } /** * @hibernate.property * column="SEQUENCE" * @return Returns the seqsence. */ public int getSequence() { return sequence; } /** * @param seqsence The seqsence to set. */ public void setSequence(int sequence) { this.sequence = sequence; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -