diff --git a/cloud-common/src/main/java/com/cm/common/pojo/dtos/FileDTO.java b/cloud-common/src/main/java/com/cm/common/pojo/dtos/FileDTO.java index c5d2558..10c7859 100644 --- a/cloud-common/src/main/java/com/cm/common/pojo/dtos/FileDTO.java +++ b/cloud-common/src/main/java/com/cm/common/pojo/dtos/FileDTO.java @@ -22,7 +22,7 @@ public class FileDTO { @ApiModelProperty(name = "fileType", value = "文件类型") private String fileType; @ApiModelProperty(name = "fileSize", value = "文件大小") - private String fileSize; + private Long fileSize; public String getFileId() { return fileId == null ? "" : fileId.trim(); @@ -56,11 +56,11 @@ public class FileDTO { this.fileType = fileType; } - public String getFileSize() { - return fileSize == null ? "" : fileSize.trim(); + public Long getFileSize() { + return fileSize; } - public void setFileSize(String fileSize) { + public void setFileSize(Long fileSize) { this.fileSize = fileSize; }