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.
106 lines
2.0 KiB
106 lines
2.0 KiB
package com.community.pocket.data.model;
|
|
|
|
//帖子简介内容
|
|
public class Forum {
|
|
//帖子
|
|
private String id;
|
|
//帖子标题
|
|
private String title;
|
|
//回复数
|
|
private Integer reply;
|
|
//帖子类型
|
|
private ForumType forumType;
|
|
//缩略内容
|
|
private String content;
|
|
//发帖人
|
|
private String username;
|
|
//发帖时间
|
|
private Long time;
|
|
//审核状态
|
|
private ForumStatus status;
|
|
|
|
//其他信息
|
|
private Active activeDto;
|
|
|
|
private Complain complainDto;
|
|
|
|
public Active getActiveDto() {
|
|
return activeDto;
|
|
}
|
|
|
|
public void setActiveDto(Active activeDto) {
|
|
this.activeDto = activeDto;
|
|
}
|
|
|
|
public Complain getComplainDto() {
|
|
return complainDto;
|
|
}
|
|
|
|
public void setComplainDto(Complain complainDto) {
|
|
this.complainDto = complainDto;
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public Integer getReply() {
|
|
return reply;
|
|
}
|
|
|
|
public void setReply(Integer reply) {
|
|
this.reply = reply;
|
|
}
|
|
|
|
public ForumType getForumType() {
|
|
return forumType;
|
|
}
|
|
|
|
public void setForumType(ForumType forumType) {
|
|
this.forumType = forumType;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
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 ForumStatus getStatus() {
|
|
return status;
|
|
}
|
|
|
|
public void setStatus(ForumStatus status) {
|
|
this.status = status;
|
|
}
|
|
}
|
|
|