@Entity public class DepartmentEntity extends BaseEntity
限定符和类型 | 字段和说明 |
---|---|
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
构造器和说明 |
---|
DepartmentEntity() |
限定符和类型 | 方法和说明 |
---|---|
DepartmentEntity |
creationType(OperationType creationType) |
DepartmentEntity |
description(java.lang.String description) |
DepartmentEntity |
enable(boolean enable) |
OperationType |
getCreationType() |
java.lang.String |
getDescription() |
OperationType |
getLastOperationType() |
java.lang.String |
getName() |
java.lang.String |
getParentId() |
DepartmentEntity |
id(java.lang.String id) |
boolean |
isEnable() |
DepartmentEntity |
lastOperationType(OperationType lastOperationType) |
DepartmentEntity |
name(java.lang.String name) |
DepartmentEntity |
parentId(java.lang.String parentId) |
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) |
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 DepartmentEntity id(java.lang.String id)
public java.lang.String getParentId()
public void setParentId(java.lang.String parentId)
public DepartmentEntity parentId(java.lang.String parentId)
public java.lang.String getName()
public void setName(java.lang.String name)
public DepartmentEntity name(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public DepartmentEntity description(java.lang.String description)
public boolean isEnable()
public void setEnable(boolean enable)
public DepartmentEntity enable(boolean enable)
public OperationType getCreationType()
public void setCreationType(OperationType creationType)
public DepartmentEntity creationType(OperationType creationType)
public OperationType getLastOperationType()
public void setLastOperationType(OperationType lastOperationType)
public DepartmentEntity lastOperationType(OperationType lastOperationType)