From 17badd7ea4d77c0aafbdfa65e05743cb7856489c Mon Sep 17 00:00:00 2001 From: chenhj <chenhj@lunor.cn> Date: 星期五, 30 五月 2025 14:40:58 +0800 Subject: [PATCH] Merge pull request 'chen' (#12) from chen into master --- ruoyi-common/src/main/java/com/ruoyi/basic/entity/StorageBlob.java | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/basic/entity/StorageBlob.java b/ruoyi-common/src/main/java/com/ruoyi/basic/entity/StorageBlob.java new file mode 100644 index 0000000..e793031 --- /dev/null +++ b/ruoyi-common/src/main/java/com/ruoyi/basic/entity/StorageBlob.java @@ -0,0 +1,65 @@ +package com.ruoyi.basic.entity; + +import com.baomidou.mybatisplus.annotation.*; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; +import com.ruoyi.common.core.domain.BaseEntity; + +import java.io.Serializable; +import java.util.Date; + +/** + * 閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭� 瀹炰綋绫� + * + * @author ruoyi + * @date 2025-05-29 + */ +@Data +@TableName("storage_blob") +public class StorageBlob implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * + */ + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + /** 鍒涘缓鏃堕棿 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") +// @TableField(fill = FieldFill.INSERT) + private Date createTime; + + /** + * 璧勬簮id + */ + @TableField(value = "key") + private String key; + /** + * 璧勬簮绫诲瀷锛屼緥濡侸PG鍥剧墖鐨勮祫婧愮被鍨嬩负image/jpg + */ + @TableField(value = "content_type") + private String contentType; + /** + * 鍘熸枃浠跺悕 + */ + @TableField(value = "original_filename") + private String originalFilename; + + /** + * 瀛樺偍妗朵腑 + */ + @TableField(value = "bucket_filename") + private String bucketFilename; + /** + * 瀛樺偍妗跺悕 + */ + @TableField(value = "bucket_name") + private String bucketName; + /** + * 璧勬簮灏哄(瀛楄妭) + */ + @TableField(value = "byte_size") + private Long byteSize; +} \ No newline at end of file -- Gitblit v1.9.3