1. 业务附件管理 API 新增带 url 的分页查询方法
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user