mirror of
https://github.com/yanlongqi/jhinno-openapi-java-sdk.git
synced 2026-03-22 06:15:10 +08:00
feat(数据): 数据增加额外的属性
This commit is contained in:
@@ -2,6 +2,8 @@ package com.jhinno.sdk.openapi.api.file;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 文件信息
|
||||
*
|
||||
@@ -10,6 +12,54 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class FileInfo {
|
||||
|
||||
|
||||
/**
|
||||
* 绝对路径
|
||||
*/
|
||||
private String absolutePath;
|
||||
|
||||
/**
|
||||
* 是否为空
|
||||
*/
|
||||
private Boolean empty;
|
||||
|
||||
|
||||
/**
|
||||
* 文件密级
|
||||
*/
|
||||
private Integer fileConfLevel;
|
||||
|
||||
/**
|
||||
* 文件ID
|
||||
*/
|
||||
private String fileId;
|
||||
|
||||
/**
|
||||
* 是否文件夹
|
||||
*/
|
||||
private Boolean folder;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 最后修改时间
|
||||
*/
|
||||
private Date lastModified;
|
||||
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
private String permission;
|
||||
|
||||
/**
|
||||
* 文件大小
|
||||
*/
|
||||
private Long size;
|
||||
|
||||
/**
|
||||
* 文件名
|
||||
*/
|
||||
@@ -29,11 +79,26 @@ public class FileInfo {
|
||||
*/
|
||||
private String fileType;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 文件属主
|
||||
*/
|
||||
private String owner;
|
||||
|
||||
/**
|
||||
* 组
|
||||
*/
|
||||
private String group;
|
||||
|
||||
/**
|
||||
* 其他
|
||||
*/
|
||||
private String other;
|
||||
|
||||
/**
|
||||
* 是否可读
|
||||
*/
|
||||
@@ -50,9 +115,9 @@ public class FileInfo {
|
||||
private Boolean execute;
|
||||
|
||||
/**
|
||||
* 是否软连接
|
||||
* 是否软链接
|
||||
*/
|
||||
private Boolean link;
|
||||
private Integer link;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user