mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-14 20:41:38 +08:00
29 lines
637 B
Java
29 lines
637 B
Java
package plus.bookshelf.Service.Model.File;
|
|
|
|
import plus.bookshelf.Common.Enum.FileStorageMediumEnum;
|
|
|
|
public class FileObjectModel {
|
|
|
|
// 文件存储介质Id
|
|
private Integer id;
|
|
|
|
// 存储的文件Id
|
|
private Integer fileId;
|
|
|
|
// 文件存储介质类型
|
|
FileStorageMediumEnum storageMediumType;
|
|
|
|
// 文件地址
|
|
// 如果是网盘就是分享链接,如果是本地存储就是文件路径
|
|
String filePath;
|
|
|
|
// 如果文件有压缩,那么就是压缩包密码
|
|
String filePwd;
|
|
|
|
// 文件提取码
|
|
String fileShareCode;
|
|
|
|
// 附加字段(JSON存储)
|
|
Object additionalFields;
|
|
}
|