From 3163a87aeb728317ebdf565f25362f0a485205f3 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 23 六月 2025 18:07:42 +0800
Subject: [PATCH] 优化
---
main-business/src/main/java/com/ruoyi/business/entity/File.java | 94 +++++++++++++++++++++++-----------------------
1 files changed, 47 insertions(+), 47 deletions(-)
diff --git a/main-business/src/main/java/com/ruoyi/business/entity/File.java b/main-business/src/main/java/com/ruoyi/business/entity/File.java
index 2e85ac4..6b64336 100644
--- a/main-business/src/main/java/com/ruoyi/business/entity/File.java
+++ b/main-business/src/main/java/com/ruoyi/business/entity/File.java
@@ -2,58 +2,58 @@
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
- import com.ruoyi.common.core.domain.MyBaseEntity;
+import com.ruoyi.common.core.domain.MyBaseEntity;
/**
-* 涓婁紶鏂囦欢鐨勫熀鏈俊鎭� 瀹炰綋绫�
-*
-* @author ruoyi
-* @date 2025-06-10
-*/
+ * 涓婁紶鏂囦欢鐨勫熀鏈俊鎭� 瀹炰綋绫�
+ *
+ * @author ruoyi
+ * @date 2025-06-10
+ */
@Data
@TableName("file")
public class File extends MyBaseEntity {
-private static final long serialVersionUID = 1L;
+ private static final long serialVersionUID = 1L;
- /**
- * 涓婚敭ID
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Long id;
- /**
- * 鍏宠仈鐨勬。妗圛D锛屽閿紩鐢� archive.id
- */
- @TableField(value = "archive_id")
- private Long archiveId;
- /**
- * 鍘熷鏂囦欢鍚嶏紙鐢ㄦ埛涓婁紶鏃剁殑鍚嶇О锛�
- */
- @TableField(value = "original_name")
- private String originalName;
- /**
- * 棰勮鍦板潃
- */
- @TableField(value = "preview_url")
- private String previewUrl;
- /**
- * 绯荤粺瀛樺偍鐨勫敮涓�鏂囦欢鍚�
- */
- @TableField(value = "file_name")
- private String fileName;
- /**
- * 鏂囦欢鍦ㄦ湇鍔″櫒涓婄殑瀛樺偍璺緞鎴栬闂甎RL
- */
- @TableField(value = "file_path")
- private String filePath;
- /**
- * 鏂囦欢MIME绫诲瀷锛屼緥濡� image/png銆乤pplication/pdf
- */
- @TableField(value = "file_type")
- private String fileType;
- /**
- * 鏂囦欢澶у皬锛屽崟浣嶄负瀛楄妭
- */
- @TableField(value = "file_size")
- private String fileSize;
+ /**
+ * 涓婚敭ID
+ */
+ @TableId(value = "id", type = IdType.AUTO)
+ private Long id;
+ /**
+ * 鍏宠仈鐨勬。妗圛D锛屽閿紩鐢� archive.id
+ */
+ @TableField(value = "archive_id")
+ private Long archiveId;
+ /**
+ * 鍘熷鏂囦欢鍚嶏紙鐢ㄦ埛涓婁紶鏃剁殑鍚嶇О锛�
+ */
+ @TableField(value = "original_name")
+ private String originalName;
+ /**
+ * 棰勮鍦板潃
+ */
+ @TableField(value = "preview_url")
+ private String previewUrl;
+ /**
+ * 绯荤粺瀛樺偍鐨勫敮涓�鏂囦欢鍚�
+ */
+ @TableField(value = "file_name")
+ private String fileName;
+ /**
+ * 鏂囦欢鍦ㄦ湇鍔″櫒涓婄殑瀛樺偍璺緞鎴栬闂甎RL
+ */
+ @TableField(value = "file_path")
+ private String filePath;
+ /**
+ * 鏂囦欢MIME绫诲瀷锛屼緥濡� image/png銆乤pplication/pdf
+ */
+ @TableField(value = "file_type")
+ private String fileType;
+ /**
+ * 鏂囦欢澶у皬锛屽崟浣嶄负瀛楄妭
+ */
+ @TableField(value = "file_size")
+ private String fileSize;
}
\ No newline at end of file
--
Gitblit v1.9.3