You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.3 KiB
72 lines
1.3 KiB
package com.community.pocket.entity.po;
|
|
|
|
import com.community.pocket.util.TableName;
|
|
import org.bson.types.ObjectId;
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
/**
|
|
* 帖子详情
|
|
*/
|
|
@Document(TableName.forumContent)
|
|
public class ForumContent {
|
|
//帖子详情id
|
|
private ObjectId id;
|
|
//帖子id
|
|
private String forumId;
|
|
//用户名
|
|
private String username;
|
|
//发帖时间
|
|
private Long time;
|
|
//楼层
|
|
private Long tower;
|
|
//帖子正文
|
|
private String content;
|
|
|
|
public ObjectId getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(ObjectId id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public Long getTime() {
|
|
return time;
|
|
}
|
|
|
|
public void setTime(Long time) {
|
|
this.time = time;
|
|
}
|
|
|
|
public Long getTower() {
|
|
return tower;
|
|
}
|
|
|
|
public void setTower(Long tower) {
|
|
this.tower = tower;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public String getForumId() {
|
|
return forumId;
|
|
}
|
|
|
|
public void setForumId(String forumId) {
|
|
this.forumId = forumId;
|
|
}
|
|
}
|
|
|