从"Blog"仓库中分离出来

This commit is contained in:
小海
2019-11-28 19:18:16 +08:00
commit 16cc30f513
119 changed files with 11291 additions and 0 deletions

View File

@@ -0,0 +1,96 @@
package cn.celess.blog.entity.model;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
* @author : xiaohai
* @date : 2019/04/23 12:02
*/
@Getter
@Setter
public class ArticleModel {
private Long id;
/**
* 标题
*/
private String title;
/**
* 摘要
*/
private String summary;
/**
* Markdown正文
*/
private String mdContent;
/**
* 文章类型 true(1)为原创 false(0)为转载
*/
private Boolean original;
/**
* 若为转载 则为转载文章的url
*/
private String url;
/**
* 发布时间
*/
private String publishDateFormat;
/**
* 更新时间
*/
private String updateDateFormat;
/**
* 分类
*/
private String category;
/**
* 标签
*/
private String[] tags;
/**
* 作者
*/
private Long authorId;
/**
* 作者名字
*/
private String authorName;
/**
* 上一篇文章
*/
private Long preArticleId;
/**
* 下一篇文章
*/
private Long nextArticleId;
private String preArticleTitle;
private String nextArticleTitle;
/**
* 阅读数
*/
private Long readingNumber;
/**
* 文章的状态 true公开 false:不公开
*/
private Boolean open;
}