fix
Helius
2022-07-04 9684fd3b9ad7e71b614c2ee0a3e45b7783d4c6cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package com.xcong.farmer.cms.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xcong.farmer.cms.common.system.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
 
/**
 * 文章表
 */
@Data
@TableName("t_article")
public class ArticleEntity extends BaseEntity {
    /**
     * 是否立即发布 1:是
     */
    public static final Integer RELEASE_STATUS_YES = 1;
    /**
     * 是否立即发布 0:否
     */
    public static final Integer RELEASE_STATUS_NO = 0;
    /**
     * 是否删除 1:未删除
     */
    public static final Integer DELETE_STATUS_NO = 1;
    /**
     * 是否删除 0:已删除
     */
    public static final Integer DELETE_STATUS_YES = 0;
    /**
     * 设置成热门文章 0:否
     */
    public static final Integer ISTOP_NO = 0;
    /**
     * 设置成热门文章 1:是
     */
    public static final Integer ISTOP_YES = 1;
    /**
     * 访问量
     */
    public static final Integer VISITS_DEFAULT = 0;
 
    //标题
    private String title;
    //副标题
    private String childTitle;
    //作者
    private String author;
    //作者所属单位
    private String authorBelong;
    //描述
    private String remark;
    //所属栏目ID
    private Long columnId;
    //访问量
    private Integer visits;
    //主图
    private String mainDiagram;
    //图集
    private String atlas;
    //发布时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date releaseTime;
    //设置成热门文章 0:否 1:是
    private Integer isTop;
    //是否立即发布 0:否 1:是
    private Integer releaseStatus;
    //文章详情
    private String articleDetails;
    //上传附件
    private String uploadFile;
    //是否删除 0:已删除 1:未删除
    private Integer delStatus;
    //所属ID
    private Long companyId;
 
    private Integer type;
 
    private String articleUrl;
 
}