|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.luoo.comment.pojo;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import org.springframework.data.annotation.Id;
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
@ -11,45 +12,59 @@ import java.util.Date;
|
|
|
|
|
@Data
|
|
|
|
|
public class Complaint implements Serializable {
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "id")
|
|
|
|
|
@Id
|
|
|
|
|
private String _id;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 举报的评论ID
|
|
|
|
|
@ApiModelProperty(value = " 举报的评论ID")
|
|
|
|
|
private String commentId;
|
|
|
|
|
|
|
|
|
|
// 举报的评论内容
|
|
|
|
|
@ApiModelProperty(value = "举报的评论内容")
|
|
|
|
|
private String commentContent;
|
|
|
|
|
|
|
|
|
|
// 举报类型
|
|
|
|
|
@ApiModelProperty(value = "举报类型")
|
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
|
|
//举报人
|
|
|
|
|
@ApiModelProperty(value = "举报人")
|
|
|
|
|
private String complaintFrom;
|
|
|
|
|
|
|
|
|
|
// 举报时间
|
|
|
|
|
@ApiModelProperty(value = "举报时间")
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private Date complaintTime;
|
|
|
|
|
|
|
|
|
|
// 举报关联
|
|
|
|
|
@ApiModelProperty(value = "举报关联的期刊ID")
|
|
|
|
|
private String journalId;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "举报关联的期刊名称")
|
|
|
|
|
private String journalTitle;
|
|
|
|
|
|
|
|
|
|
// 举报对象
|
|
|
|
|
@ApiModelProperty(value = "举报对象")
|
|
|
|
|
private String complaintTo;
|
|
|
|
|
|
|
|
|
|
// 举报状态
|
|
|
|
|
@ApiModelProperty(value = "举报状态")
|
|
|
|
|
private String state;
|
|
|
|
|
|
|
|
|
|
// 处理结果
|
|
|
|
|
@ApiModelProperty(value = "处理结果")
|
|
|
|
|
private String handleResult;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 处理人
|
|
|
|
|
@ApiModelProperty(value = "处理人")
|
|
|
|
|
private String handleBy;
|
|
|
|
|
|
|
|
|
|
// 处理时间
|
|
|
|
|
@ApiModelProperty(value = "处理时间")
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private Date handleTime;
|
|
|
|
|