Files
blog-backEnd/src/main/java/cn/celess/blog/entity/Comment.java
2019-11-28 19:18:16 +08:00

41 lines
600 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package cn.celess.blog.entity;
import lombok.Data;
import java.util.Date;
/**
* @author : xiaohai
* @date : 2019/03/29 16:47
*/
@Data
public class Comment {
private Long id;
/**
* 是评论还是留言 0:评论 其他1留言
*/
private Boolean type;
private Long authorID;
private String content;
private Long articleID;
private Date date;
/**
* 回应着ID 默认为顶级回复
*/
private String responseId = "";
/**
* 评论的父ID
*/
private Long pid;
}