📄 topic.java
字号:
package com.italk.vo;
import java.util.HashSet;
import java.util.Set;
public class Topic extends BaseEntity{
private String title=null;
private Long publishTime=null;
private Long lastUpdateTime=null;
private int clickCount=0;
private boolean top=false;
private boolean prime=false;
private boolean lock=false;
private boolean reply=false;
private User user=null;
private Set replys=new HashSet();
private Topic main=null;
private String content=null;
/**
* @return the clickCount
*/
public int getClickCount() {
return clickCount;
}
/**
* @param clickCount the clickCount to set
*/
public void setClickCount(int clickCount) {
this.clickCount = clickCount;
}
/**
* @return the content
*/
public String getContent() {
return content;
}
/**
* @param content the content to set
*/
public void setContent(String content) {
this.content = content;
}
/**
* @return the lastUpdateTime
*/
public Long getLastUpdateTime() {
return lastUpdateTime;
}
/**
* @param lastUpdateTime the lastUpdateTime to set
*/
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
/**
* @return the lock
*/
public boolean isLock() {
return lock;
}
/**
* @param lock the lock to set
*/
public void setLock(boolean lock) {
this.lock = lock;
}
/**
* @return the main
*/
public Topic getMain() {
return main;
}
/**
* @param main the main to set
*/
public void setMain(Topic main) {
this.main = main;
}
/**
* @return the prime
*/
public boolean isPrime() {
return prime;
}
/**
* @param prime the prime to set
*/
public void setPrime(boolean prime) {
this.prime = prime;
}
/**
* @return the publishTime
*/
public Long getPublishTime() {
return publishTime;
}
/**
* @param publishTime the publishTime to set
*/
public void setPublishTime(Long publishTime) {
this.publishTime = publishTime;
}
/**
* @return the reply
*/
public boolean isReply() {
return reply;
}
/**
* @param reply the reply to set
*/
public void setReply(boolean reply) {
this.reply = reply;
}
/**
* @return the replys
*/
public Set getReplys() {
return replys;
}
/**
* @param replys the replys to set
*/
public void setReplys(Set replys) {
this.replys = replys;
}
/**
* @return the title
*/
public String getTitle() {
return title;
}
/**
* @param title the title to set
*/
public void setTitle(String title) {
this.title = title;
}
/**
* @return the top
*/
public boolean isTop() {
return top;
}
/**
* @param top the top to set
*/
public void setTop(boolean top) {
this.top = top;
}
/**
* @return the user
*/
public User getUser() {
return user;
}
/**
* @param user the user to set
*/
public void setUser(User user) {
this.user = user;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -