限定符和类型 | 字段和说明 |
---|---|
private java.lang.Long |
checkUserId
check user id
审核用户id
|
private int |
clicks
clicks
点击数
|
private @Length(max=255) java.lang.String |
cover
cover
封面图
|
private java.util.Date |
createDate
create date
创建日期
|
private @Length(max=300) java.lang.String |
description
description
描述
|
private boolean |
disabled |
private java.util.Date |
expiryDate
expiry date
过期日期
|
private java.lang.Long |
id
id
|
private java.lang.Long |
itemId
item id
数据项id
|
private java.lang.String |
itemType
item type
数据项类型
|
private int |
maxClicks
max clicks
最大点击数
|
private @NotBlank @Length(max=100) java.lang.String |
path
place path
推荐位路径
|
private java.util.Date |
publishDate
publish date
发布日期
|
private static long |
serialVersionUID |
private short |
siteId |
private int |
status
status(0:Draft,1:Published,2:Pending)
状态(0:草稿,1:已发布,2:待审核,3:已下架)
|
private @NotBlank @Length(max=255) java.lang.String |
title
title
标题
|
private @Length(max=1000) java.lang.String |
url
url
地址
|
private java.lang.Long |
userId
user id
创建用户id
|
构造器和说明 |
---|
CmsPlace() |
CmsPlace(short siteId,
java.lang.String path,
java.lang.Long userId,
java.lang.Long checkUserId,
java.lang.String itemType,
java.lang.Long itemId,
java.lang.String title,
java.lang.String url,
java.lang.String cover,
java.util.Date createDate,
java.util.Date publishDate,
java.util.Date expiryDate,
int status,
int clicks,
int maxClicks,
boolean disabled) |
CmsPlace(short siteId,
java.lang.String path,
java.lang.String title,
java.util.Date createDate,
java.util.Date publishDate,
int status,
int clicks,
int maxClicks,
boolean disabled) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Long |
getCheckUserId() |
int |
getClicks() |
java.lang.String |
getCover() |
java.util.Date |
getCreateDate() |
java.lang.String |
getDescription() |
java.util.Date |
getExpiryDate() |
java.lang.Long |
getId() |
java.lang.Long |
getItemId() |
java.lang.String |
getItemType() |
int |
getMaxClicks() |
java.lang.String |
getPath() |
java.util.Date |
getPublishDate() |
short |
getSiteId() |
int |
getStatus() |
java.lang.String |
getTitle() |
java.lang.String |
getUrl() |
java.lang.Long |
getUserId() |
boolean |
isDisabled() |
void |
setCheckUserId(java.lang.Long checkUserId) |
void |
setClicks(int clicks) |
void |
setCover(java.lang.String cover) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDescription(java.lang.String description) |
void |
setDisabled(boolean disabled) |
void |
setExpiryDate(java.util.Date expiryDate) |
void |
setId(java.lang.Long id) |
void |
setItemId(java.lang.Long itemId) |
void |
setItemType(java.lang.String itemType) |
void |
setMaxClicks(int maxClicks) |
void |
setPath(java.lang.String path) |
void |
setPublishDate(java.util.Date publishDate) |
void |
setSiteId(short siteId) |
void |
setStatus(int status) |
void |
setTitle(java.lang.String title) |
void |
setUrl(java.lang.String url) |
void |
setUserId(java.lang.Long userId) |
getAttribute, setAttribute
private static final long serialVersionUID
private java.lang.Long id
private short siteId
@NotBlank @Length(max=100) private @NotBlank @Length(max=100) java.lang.String path
推荐位路径
private java.lang.Long userId
创建用户id
private java.lang.Long checkUserId
审核用户id
private java.lang.String itemType
数据项类型
private java.lang.Long itemId
数据项id
@NotBlank @Length(max=255) private @NotBlank @Length(max=255) java.lang.String title
标题
@Length(max=1000) private @Length(max=1000) java.lang.String url
地址
@Length(max=300) private @Length(max=300) java.lang.String description
描述
@Length(max=255) private @Length(max=255) java.lang.String cover
封面图
private java.util.Date createDate
创建日期
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private java.util.Date publishDate
发布日期
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private java.util.Date expiryDate
过期日期
private int status
状态(0:草稿,1:已发布,2:待审核,3:已下架)
private int clicks
点击数
private int maxClicks
最大点击数
private boolean disabled
public CmsPlace()
public CmsPlace(short siteId, java.lang.String path, java.lang.String title, java.util.Date createDate, java.util.Date publishDate, int status, int clicks, int maxClicks, boolean disabled)
public CmsPlace(short siteId, java.lang.String path, java.lang.Long userId, java.lang.Long checkUserId, java.lang.String itemType, java.lang.Long itemId, java.lang.String title, java.lang.String url, java.lang.String cover, java.util.Date createDate, java.util.Date publishDate, java.util.Date expiryDate, int status, int clicks, int maxClicks, boolean disabled)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.Long getUserId()
public void setUserId(java.lang.Long userId)
public java.lang.Long getCheckUserId()
public void setCheckUserId(java.lang.Long checkUserId)
public java.lang.String getItemType()
public void setItemType(java.lang.String itemType)
public java.lang.Long getItemId()
public void setItemId(java.lang.Long itemId)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getCover()
public void setCover(java.lang.String cover)
public java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
public java.util.Date getPublishDate()
public void setPublishDate(java.util.Date publishDate)
public java.util.Date getExpiryDate()
public void setExpiryDate(java.util.Date expiryDate)
public int getStatus()
public void setStatus(int status)
public int getClicks()
public void setClicks(int clicks)
public int getMaxClicks()
public void setMaxClicks(int maxClicks)
public boolean isDisabled()
public void setDisabled(boolean disabled)