fix:优化更新文件接口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user