From 26d018d32e75438b764f4460cedb212027cec2d4 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Thu, 20 Oct 2022 23:20:36 +0800
Subject: [PATCH] fix
---
src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java b/src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java
index 6cf38dc..2465a4a 100644
--- a/src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java
+++ b/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;
/**
* 文章表
@@ -76,4 +78,42 @@
//所属ID
private Long companyId;
+ private Integer type;
+
+ private String articleUrl;
+
+ //内容类型 1:文章 2:图片 3:文件 4:音频"
+ private Integer contentType;
+
+ /**
+ * 更新前栏目编码
+ */
+ private Long beforeColumnId;
+
+ /**
+ * 草稿状态 1-是 2-否
+ */
+ private Integer draftState;
+
+ @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;
+
+ @TableField(exist = false)
+ private Integer releaseType;
+
}
--
Gitblit v1.9.1