xiaoyong931011
2022-07-08 e7f9932f6d5bb67dac0de33e9d52d439d9a1a6bf
src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java
@@ -1,11 +1,13 @@
package com.xcong.farmer.cms.modules.system.entity;
import com.baomidou.mybatisplus.annotation.TableField;
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;
import java.util.List;
/**
 * 文章表
@@ -29,6 +31,14 @@
     * 是否删除 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;
    /**
     * 访问量
     */
@@ -55,13 +65,42 @@
    //发布时间
    @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 belongId;
    private Long companyId;
    private Integer type;
    private String articleUrl;
    //内容类型 1:文章 2:图片 3:文件 4:音频"
    private Integer contentType;
    @TableField(exist = false)
    private String columnCode;
    @TableField(exist = false)
    private String columnName;
    /**
     * 栏目目录
     */
    @TableField(exist = false)
    private String path;
    @TableField(exist = false)
    private List<Long> columnIds;
    @TableField(exist = false)
    private List<Long> columnList;
    @TableField(exist = false)
    private String timeType;
}