Files
blog-backEnd/src/main/java/cn/celess/blog/entity/Article.java
2020-05-24 22:00:06 +08:00

64 lines
1.0 KiB
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;
import java.util.List;
/**
* @author : xiaohai
* @date : 2019/03/28 14:51
*/
@Data
public class Article {
private Long id;
/**
* 标题
*/
private String title;
/**
* 摘要
*/
private String summary;
/**
* Markdown正文
*/
private String mdContent;
/**
* 文章类型 true(1)为原创 false(0)为转载
*/
private Boolean type;
/**
* 若为转载 则为转载文章的url
*/
private String url = null;
private Date publishDate;
private Date updateDate = null;
private Long readingNumber;
/**
* 文章的状态 true公开 false:不公开
*/
private Boolean open;
private Category category;
private List<Tag> tags;
private Integer likeCount;
private Integer dislikeCount;
private User user;
private boolean deleted = false;
}