fix:优化更新文件接口

This commit is contained in:
2026-02-13 11:51:26 +08:00
parent e7bbb3adcf
commit 2964d0db69
7 changed files with 295 additions and 107 deletions

View File

@@ -0,0 +1,25 @@
package com.sdm.common.entity.req.data;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
public class FileMetadataExtensionRequest {
/**
* 扩展字段名
*/
@Schema(description = "扩展字段名")
private String extensionKey;
/**
* 扩展字段值
*/
@Schema(description = "扩展字段值")
private String extensionValue;
/**
* 值的数据类型string, number, boolean, json等
*/
@Schema(description = "值的数据类型string, number, boolean, json等")
private String dataType;
}

View File

@@ -148,27 +148,5 @@ public class UploadFilesReq {
}
public UploadFilesReq() {
}
@Data
public class FileMetadataExtensionRequest {
/**
* 扩展字段名
*/
@Schema(description = "扩展字段名")
private String extensionKey;
/**
* 扩展字段值
*/
@Schema(description = "扩展字段值")
private String extensionValue;
/**
* 值的数据类型string, number, boolean, json等
*/
@Schema(description = "值的数据类型string, number, boolean, json等")
private String dataType;
}
}