@Entity
public class CmsComment
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.util.Date |
checkDate
check date
审核日期
|
private java.lang.Long |
checkUserId
check user
审核用户
|
private long |
contentId
content id
内容id
|
private java.util.Date |
createDate
create date
创建日期
|
private boolean |
disabled |
private java.lang.Long |
id
id
|
private java.lang.String |
ip
ip
|
private int |
replies
replies
回复数
|
private java.lang.Long |
replyId
reply comment id
回复评论id
|
private java.lang.Long |
replyUserId
reply user id
回复用户id
|
private int |
scores
scores
分数
|
private static long |
serialVersionUID |
private short |
siteId |
private int |
status
status(1:Published,2:Pending)
状态(1:已审核,2:待审核)
|
private java.lang.String |
text |
private java.util.Date |
updateDate
update date
更新日期
|
private long |
userId
user id
发布用户id
|
构造器和说明 |
---|
CmsComment() |
CmsComment(short siteId,
long userId,
int replies,
int scores,
long contentId,
java.lang.String ip,
java.util.Date createDate,
int status,
boolean disabled) |
CmsComment(short siteId,
long userId,
java.lang.Long replyId,
java.lang.Long replyUserId,
int replies,
int scores,
long contentId,
java.lang.String ip,
java.lang.Long checkUserId,
java.util.Date checkDate,
java.util.Date updateDate,
java.util.Date createDate,
int status,
boolean disabled,
java.lang.String text) |
限定符和类型 | 方法和说明 |
---|---|
java.util.Date |
getCheckDate() |
java.lang.Long |
getCheckUserId() |
long |
getContentId() |
java.util.Date |
getCreateDate() |
java.lang.Long |
getId() |
java.lang.String |
getIp() |
int |
getReplies() |
java.lang.Long |
getReplyId() |
java.lang.Long |
getReplyUserId() |
int |
getScores() |
short |
getSiteId() |
int |
getStatus() |
java.lang.String |
getText() |
java.util.Date |
getUpdateDate() |
long |
getUserId() |
boolean |
isDisabled() |
void |
setCheckDate(java.util.Date checkDate) |
void |
setCheckUserId(java.lang.Long checkUserId) |
void |
setContentId(long contentId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDisabled(boolean disabled) |
void |
setId(java.lang.Long id) |
void |
setIp(java.lang.String ip) |
void |
setReplies(int replies) |
void |
setReplyId(java.lang.Long replyId) |
void |
setReplyUserId(java.lang.Long replyUserId) |
void |
setScores(int scores) |
void |
setSiteId(short siteId) |
void |
setStatus(int status) |
void |
setText(java.lang.String text) |
void |
setUpdateDate(java.util.Date updateDate) |
void |
setUserId(long userId) |
private static final long serialVersionUID
private java.lang.Long id
private short siteId
private long userId
发布用户id
private java.lang.Long replyId
回复评论id
private java.lang.Long replyUserId
回复用户id
private int replies
回复数
private int scores
分数
private long contentId
内容id
private java.lang.String ip
private java.lang.Long checkUserId
审核用户
private java.util.Date checkDate
审核日期
private java.util.Date updateDate
更新日期
private java.util.Date createDate
创建日期
private int status
状态(1:已审核,2:待审核)
private boolean disabled
private java.lang.String text
public CmsComment()
public CmsComment(short siteId, long userId, int replies, int scores, long contentId, java.lang.String ip, java.util.Date createDate, int status, boolean disabled)
public CmsComment(short siteId, long userId, java.lang.Long replyId, java.lang.Long replyUserId, int replies, int scores, long contentId, java.lang.String ip, java.lang.Long checkUserId, java.util.Date checkDate, java.util.Date updateDate, java.util.Date createDate, int status, boolean disabled, java.lang.String text)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public long getUserId()
public void setUserId(long userId)
public java.lang.Long getReplyId()
public void setReplyId(java.lang.Long replyId)
public java.lang.Long getReplyUserId()
public void setReplyUserId(java.lang.Long replyUserId)
public int getReplies()
public void setReplies(int replies)
public int getScores()
public void setScores(int scores)
public long getContentId()
public void setContentId(long contentId)
public java.lang.String getIp()
public void setIp(java.lang.String ip)
public java.lang.Long getCheckUserId()
public void setCheckUserId(java.lang.Long checkUserId)
public java.util.Date getCheckDate()
public void setCheckDate(java.util.Date checkDate)
public java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date updateDate)
public java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
public int getStatus()
public void setStatus(int status)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public java.lang.String getText()
public void setText(java.lang.String text)