@Entity public class PostEntity 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 |
COLUMN_ID
构造器和说明 |
---|
PostEntity() |
限定符和类型 | 方法和说明 |
---|---|
PostEntity |
creationType(OperationType creationType) |
PostEntity |
description(java.lang.String description) |
PostEntity |
enable(boolean enable) |
OperationType |
getCreationType() |
java.lang.String |
getDescription() |
OperationType |
getLastOperationType() |
java.lang.String |
getName() |
PostEntity |
id(java.lang.String id) |
boolean |
isEnable() |
PostEntity |
lastOperationType(OperationType lastOperationType) |
PostEntity |
name(java.lang.String name) |
void |
setCreationType(OperationType creationType) |
void |
setDescription(java.lang.String description) |
void |
setEnable(boolean enable) |
void |
setLastOperationType(OperationType lastOperationType) |
void |
setName(java.lang.String name) |
getId, setId
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 PostEntity id(java.lang.String id)
public java.lang.String getName()
public void setName(java.lang.String name)
public PostEntity name(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public PostEntity description(java.lang.String description)
public boolean isEnable()
public void setEnable(boolean enable)
public PostEntity enable(boolean enable)
public OperationType getCreationType()
public void setCreationType(OperationType creationType)
public PostEntity creationType(OperationType creationType)
public OperationType getLastOperationType()
public void setLastOperationType(OperationType lastOperationType)
public PostEntity lastOperationType(OperationType lastOperationType)