@Entity public class Post extends AuditModel
| 构造器和说明 |
|---|
Post() |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Category> |
getCategories() |
Set<Comment> |
getComments() |
String |
getContent() |
Long |
getId() |
Set<Tag> |
getKeywords() |
String |
getPid() |
int |
getReadCount() |
String |
getTitle() |
User |
getUser() |
boolean |
isTop() |
void |
setCategories(Set<Category> categories) |
void |
setComments(Set<Comment> comments) |
void |
setContent(String content) |
void |
setId(Long id) |
void |
setKeywords(Set<Tag> keywords) |
void |
setPid(String pid) |
void |
setReadCount(int readCount) |
void |
setTitle(String title) |
void |
setTop(boolean top) |
void |
setUser(User user) |
getCreatedAt, getUpdatedAt, setCreatedAt, setUpdatedAtpublic Long getId()
public void setId(Long id)
public String getPid()
public void setPid(String pid)
public String getTitle()
public void setTitle(String title)
public String getContent()
public void setContent(String content)
public int getReadCount()
public void setReadCount(int readCount)
public boolean isTop()
public void setTop(boolean top)
public User getUser()
public void setUser(User user)
Copyright © 2019. All rights reserved.