From 966141e943e1edbfa49b6bf24d966b17bfaa15d6 Mon Sep 17 00:00:00 2001 From: WenG <450292408@qq.com> Date: Wed, 18 Nov 2020 21:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=AD=97=E6=AE=B5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/cm/common/pojo/dtos/FileDTO.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }