public class Department extends BaseDataRecord implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
COLUMN_CREATION_TYPE |
static java.lang.String |
COLUMN_DESCRIPTION |
static java.lang.String |
COLUMN_ENABLE |
static java.lang.String |
COLUMN_LAST_OPERATION_TYPE |
static java.lang.String |
COLUMN_NAME |
static java.lang.String |
COLUMN_PARENT_ID |
COLUMN_ID
构造器和说明 |
---|
Department() |
限定符和类型 | 方法和说明 |
---|---|
Department |
authorityDetailList(java.util.List<AuthorityDetail> authorityDetailList) |
Department |
creationType(OperationType creationType)
设置创建类型(记录来源)
|
Department |
description(java.lang.String description)
设置描述信息
|
Department |
enable(boolean enable)
设置是否可用
|
java.util.List<AuthorityDetail> |
getAuthorityDetailList()
获取权限细节信息列表
|
OperationType |
getCreationType()
获取创建类型(记录来源)
|
java.lang.String |
getDescription()
获取描述信息
|
OperationType |
getLastOperationType()
获取最近修改类型
|
java.lang.String |
getName()
获取名称
|
java.lang.String |
getParentId()
获取父级部门ID
|
Department |
id(java.lang.String id)
设置记录id
|
boolean |
isEnable()
是否可用
|
Department |
lastOperationType(OperationType lastOperationType)
设置最近修改类型
|
Department |
name(java.lang.String name)
设置名称
|
Department |
parentId(java.lang.String parentId)
设置父级部门ID
|
void |
setAuthorityDetailList(java.util.List<AuthorityDetail> authorityDetailList) |
void |
setCreationType(OperationType creationType)
设置创建类型(记录来源)
|
void |
setDescription(java.lang.String description)
设置描述信息
|
void |
setEnable(boolean enable)
设置是否可用
|
void |
setLastOperationType(OperationType lastOperationType)
设置最近修改类型
|
void |
setName(java.lang.String name)
设置名称
|
void |
setParentId(java.lang.String parentId)
设置父级部门ID
|
java.lang.String |
toString() |
getId, setId
public static final java.lang.String COLUMN_PARENT_ID
public static final java.lang.String COLUMN_NAME
public static final java.lang.String COLUMN_DESCRIPTION
public static final java.lang.String COLUMN_ENABLE
public static final java.lang.String COLUMN_CREATION_TYPE
public static final java.lang.String COLUMN_LAST_OPERATION_TYPE
public Department id(java.lang.String id)
id
- 记录idpublic java.lang.String getParentId()
public void setParentId(java.lang.String parentId)
parentId
- 父级部门IDpublic Department parentId(java.lang.String parentId)
parentId
- 父级部门IDpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- 名称public Department name(java.lang.String name)
name
- 名称public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- 描述信息public Department description(java.lang.String description)
description
- 描述信息public boolean isEnable()
public void setEnable(boolean enable)
enable
- 是否可用public Department enable(boolean enable)
enable
- 是否可用public OperationType getCreationType()
public void setCreationType(OperationType creationType)
creationType
- 创建类型(记录来源)public Department creationType(OperationType creationType)
creationType
- 创建类型(记录来源)public OperationType getLastOperationType()
public void setLastOperationType(OperationType lastOperationType)
lastOperationType
- 修改类型public Department lastOperationType(OperationType lastOperationType)
lastOperationType
- 修改类型public java.util.List<AuthorityDetail> getAuthorityDetailList()
public void setAuthorityDetailList(java.util.List<AuthorityDetail> authorityDetailList)
public Department authorityDetailList(java.util.List<AuthorityDetail> authorityDetailList)
public java.lang.String toString()
toString
在类中 BaseDataRecord