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.
75 lines
1.4 KiB
75 lines
1.4 KiB
package com.community.pocket.data.model;
|
|
|
|
//帖子简介内容
|
|
public class Forum {
|
|
//帖子id
|
|
private Integer forumId;
|
|
//发帖人头像
|
|
private String headImg;
|
|
//发帖人
|
|
private String username;
|
|
//发帖时间
|
|
private Long time;
|
|
//帖子标题
|
|
private String title;
|
|
//帖子内容
|
|
private String content;
|
|
//回复数
|
|
private Integer reply;
|
|
|
|
public Integer getForumId() {
|
|
return forumId;
|
|
}
|
|
|
|
public void setForumId(Integer forumId) {
|
|
this.forumId = forumId;
|
|
}
|
|
|
|
public String getHeadImg() {
|
|
return headImg;
|
|
}
|
|
|
|
public void setHeadImg(String headImg) {
|
|
this.headImg = headImg;
|
|
}
|
|
|
|
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 String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public Integer getReply() {
|
|
return reply;
|
|
}
|
|
|
|
public void setReply(Integer reply) {
|
|
this.reply = reply;
|
|
}
|
|
}
|
|
|