From b7f5ac24be48789ea48d79d86f11f6b01bf27f5f Mon Sep 17 00:00:00 2001 From: chenbowen Date: Wed, 17 Sep 2025 10:50:04 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=B8=9A=E5=8A=A1=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20API=20=E6=96=B0=E5=A2=9E=E5=B8=A6=20url=20?= =?UTF-8?q?=E7=9A=84=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dto/BusinessFileWithUrlRespDTO.java | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java diff --git a/yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java b/yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java new file mode 100644 index 00000000..42e13723 --- /dev/null +++ b/yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java @@ -0,0 +1,49 @@ +package cn.iocoder.yudao.module.infra.api.businessfile.dto; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * 业务附件关联带URL响应 DTO + * + * @author 后台管理 + */ +@Data +@NoArgsConstructor +@AllArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class BusinessFileWithUrlRespDTO extends BusinessFileRespDTO { + + /** + * 文件路径 + */ + private String filePath; + + /** + * 文件 URL + */ + private String fileUrl; + + /** + * 附件预览地址 + */ + private String previewUrl; + + /** + * 是否加密 + */ + private Boolean isEncrypted; + + /** + * 文件MIME类型 + */ + private String fileType; + + /** + * 文件大小 + */ + private Integer fileSize; + +} \ No newline at end of file