@Entity
public class SysDept
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private @NotNull @Length(max=50) java.lang.String |
code
code
编码
|
private @Length(max=300) java.lang.String |
description
description
描述
|
private java.lang.Integer |
id
id
|
private int |
maxSort
max content sort
最大内容置顶级别
|
private @NotNull @Length(max=50) java.lang.String |
name
name
名称
|
private boolean |
ownsAllCategory
owns all category
拥有全部分类
|
private boolean |
ownsAllConfig
owns all config
拥有全部配置
|
private boolean |
ownsAllPage
owns all page
拥有全部页面
|
private java.lang.Integer |
parentId
parent id
父部门id
|
private static long |
serialVersionUID |
private short |
siteId |
private java.lang.Long |
userId
manage user id
负责用户id
|
构造器和说明 |
---|
SysDept() |
SysDept(short siteId,
java.lang.String name,
java.lang.String code,
int maxSort,
boolean ownsAllCategory,
boolean ownsAllPage,
boolean ownsAllConfig) |
SysDept(short siteId,
java.lang.String name,
java.lang.String code,
java.lang.Integer parentId,
java.lang.String description,
java.lang.Long userId,
int maxSort,
boolean ownsAllCategory,
boolean ownsAllPage,
boolean ownsAllConfig) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getCode() |
java.lang.String |
getDescription() |
java.lang.Integer |
getId() |
int |
getMaxSort() |
java.lang.String |
getName() |
java.lang.Integer |
getParentId() |
short |
getSiteId() |
java.lang.Long |
getUserId() |
boolean |
isOwnsAllCategory() |
boolean |
isOwnsAllConfig() |
boolean |
isOwnsAllPage() |
void |
setCode(java.lang.String code) |
void |
setDescription(java.lang.String description) |
void |
setId(java.lang.Integer id) |
void |
setMaxSort(int maxSort) |
void |
setName(java.lang.String name) |
void |
setOwnsAllCategory(boolean ownsAllCategory) |
void |
setOwnsAllConfig(boolean ownsAllConfig) |
void |
setOwnsAllPage(boolean ownsAllPage) |
void |
setParentId(java.lang.Integer parentId) |
void |
setSiteId(short siteId) |
void |
setUserId(java.lang.Long userId) |
private static final long serialVersionUID
private java.lang.Integer id
private short siteId
@NotNull @Length(max=50) private @NotNull @Length(max=50) java.lang.String name
名称
@NotNull @Length(max=50) private @NotNull @Length(max=50) java.lang.String code
编码
private java.lang.Integer parentId
父部门id
@Length(max=300) private @Length(max=300) java.lang.String description
描述
private java.lang.Long userId
负责用户id
private int maxSort
最大内容置顶级别
private boolean ownsAllCategory
拥有全部分类
private boolean ownsAllPage
拥有全部页面
private boolean ownsAllConfig
拥有全部配置
public SysDept()
public SysDept(short siteId, java.lang.String name, java.lang.String code, int maxSort, boolean ownsAllCategory, boolean ownsAllPage, boolean ownsAllConfig)
public SysDept(short siteId, java.lang.String name, java.lang.String code, java.lang.Integer parentId, java.lang.String description, java.lang.Long userId, int maxSort, boolean ownsAllCategory, boolean ownsAllPage, boolean ownsAllConfig)
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public short getSiteId()
public void setSiteId(short siteId)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getCode()
public void setCode(java.lang.String code)
public java.lang.Integer getParentId()
public void setParentId(java.lang.Integer parentId)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.Long getUserId()
public void setUserId(java.lang.Long userId)
public int getMaxSort()
public void setMaxSort(int maxSort)
public boolean isOwnsAllCategory()
public void setOwnsAllCategory(boolean ownsAllCategory)
public boolean isOwnsAllPage()
public void setOwnsAllPage(boolean ownsAllPage)
public boolean isOwnsAllConfig()
public void setOwnsAllConfig(boolean ownsAllConfig)