feat(项目管理): 文件列表返回内容增加storage字段

This commit is contained in:
song-tianyang 2023-11-13 18:46:25 +08:00 committed by 建国
parent 24fe1dc2c3
commit 149c26f1b5
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,9 @@ public class FileInformationResponse {
@Schema(description = "更新时间") @Schema(description = "更新时间")
private long updateTime; private long updateTime;
@Schema(description = "存储库类型")
private String storage;
@Schema(description = "文件大小") @Schema(description = "文件大小")
private long size; private long size;
@ -75,6 +78,7 @@ public class FileInformationResponse {
this.createUser = fileMetadata.getCreateUser(); this.createUser = fileMetadata.getCreateUser();
this.updateUser = fileMetadata.getUpdateUser(); this.updateUser = fileMetadata.getUpdateUser();
this.updateTime = fileMetadata.getUpdateTime(); this.updateTime = fileMetadata.getUpdateTime();
this.storage = fileMetadata.getStorage();
this.refId = fileMetadata.getRefId(); this.refId = fileMetadata.getRefId();
} }
} }