feat(项目管理): 文件列表返回内容增加storage字段
This commit is contained in:
parent
24fe1dc2c3
commit
149c26f1b5
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue