mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
47 lines
802 B
Java
47 lines
802 B
Java
package plus.bookshelf.Controller.VO;
|
|
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class FileVO {
|
|
|
|
// 文件Id
|
|
Integer id;
|
|
|
|
// 关联的书籍Id
|
|
Integer bookId;
|
|
|
|
// 文件名 (用于展示给用户的文件名,不含扩展名)
|
|
String fileDisplayName;
|
|
|
|
// 文件存储名称 (文件的实际文件名,含扩展名)
|
|
String fileName;
|
|
|
|
// 文件格式
|
|
String fileFormat;
|
|
|
|
// 总页数
|
|
Integer numberOfPages;
|
|
|
|
// 是否含有水印
|
|
Boolean watermark;
|
|
|
|
// 是否有广告
|
|
Boolean advertising;
|
|
|
|
// 文件来源 电子版/扫描版
|
|
String bookOrigin;
|
|
|
|
// 文件创建时间
|
|
long fileCreateAt;
|
|
|
|
// 文件修改时间
|
|
long fileModifiedAt;
|
|
|
|
// 文件大小
|
|
long fileSize;
|
|
|
|
// 文件哈希 - SHA1
|
|
String hashSha1;
|
|
}
|