From f0beb464c1fd4cf1c6481f86610a6a130b93ead4 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Wed, 10 Jan 2024 21:30:14 +0800
Subject: [PATCH] 修订文字

---
 snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticle.java |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticle.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticle.java
index 6c06354..4f81377 100644
--- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticle.java
+++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticle.java
@@ -25,9 +25,7 @@
 package vip.xiaonuo.modular.blogarticle.entity;
 
 import cn.afterturn.easypoi.excel.annotation.Excel;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.*;
 import lombok.Data;
 
 import java.util.Date;
@@ -126,6 +124,10 @@
     @Excel(name = "编辑状态 0:草稿 1:发布")
     private Integer editorStatus;
 
+    @Excel(name = "是否允许评论 0:否 1:是")
+    private Integer isAllowedComment;
+
+
     /**
      * 归档年份(以初次发布时间为准)
      */
@@ -154,12 +156,23 @@
      * 更新时间
      */
     @Excel(name = "更新时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20)
+    @TableField(fill = FieldFill.INSERT_UPDATE)
     private Date updateDate;
 
     /**
      * 创建时间
      */
     @Excel(name = "创建时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20)
+    @TableField(fill = FieldFill.INSERT)
     private Date createDate;
 
+
+    private String videoIds;
+
+    private String pictureIds;
+
+    @TableField(value = "jump_url")
+    private String jumpURL;
+
+
 }

--
Gitblit v1.9.1