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