public class PostVO extends BaseVO
| 构造器和说明 |
|---|
PostVO() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCommentCount()
回帖评论总数
|
Post |
getPost() |
PostClass |
getPostClass()
所属的栏目信息
|
String |
getText()
帖子的内容
|
User |
getUser()
发帖用户
|
void |
setCommentCount(int commentCount)
回帖评论总数
|
void |
setPost(Post post) |
void |
setPostClass(PostClass postClass)
所属的栏目信息
|
void |
setText(String text)
帖子的内容
|
void |
setUser(User user)
发帖用户
|
setBaseVOForSuperpublic Post getPost()
public void setPost(Post post)
public User getUser()
public void setUser(User user)
user - public String getText()
public void setText(String text)
text - public PostClass getPostClass()
public void setPostClass(PostClass postClass)
postClass - public int getCommentCount()
public void setCommentCount(int commentCount)
commentCount -