123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- package com.nosum.deliver.posts.domain.po;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- import java.io.Serializable;
- import java.time.LocalDateTime;
- /**
- * <p>
- *
- * </p>
- *
- * @author sumbytes
- * @since 2019-08-28
- */
- @Data
- @EqualsAndHashCode(callSuper = false)
- @Accessors(chain = true)
- public class Posts {
- private static final long serialVersionUID = 1L;
- /**
- * 主键
- */
- private Long id;
- /**
- * 文章标题
- */
- private String title;
- /**
- * 封面图
- */
- private String thumbnail;
- /**
- * 评论数
- */
- private Integer comments;
- /**
- * 状态 1 草稿 2 发布
- */
- private Integer status;
- /**
- * 摘要
- */
- private String summary;
- /**
- * 浏览次数
- */
- private Integer views;
- /**
- * 文章权重
- */
- private Integer weight;
- /**
- * 创建时间
- */
- private LocalDateTime createTime;
- /**
- * 更新时间
- */
- private LocalDateTime updateTime;
- /**
- * 创建人
- */
- private Long authorId;
- /**
- * 是否打开评论
- */
- private Integer isComment;
- /**
- * 同步到sumbytes状态 (0 未同步 或者同步失败的状态 1同步已成功)
- */
- private Integer syncStatus;
- /**
- * 文章分类Id
- */
- private Integer categoryId;
- /**
- * 文章分类名称
- */
- private String categoryName;
- }
|