|
@@ -0,0 +1,80 @@
|
|
|
+/*
|
|
|
+ * Copyright (c) 2025 GaoKunW
|
|
|
+ *
|
|
|
+ */
|
|
|
+
|
|
|
+package org.eco.vip.nexus.core.domain.file.pojo;
|
|
|
+
|
|
|
+
|
|
|
+import io.github.linpeilie.annotations.AutoMapper;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import org.eco.vip.nexus.core.domain.file.File;
|
|
|
+import org.eco.vip.orm.domain.BaseEntity;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @description FileVO
|
|
|
+ *
|
|
|
+ * @author GaoKunW
|
|
|
+ * @date 2025/7/22 10:58
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
+@AutoMapper(target = File.class, reverseConvertGenerate = false)
|
|
|
+public class FileVO extends BaseEntity {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 唯一标识
|
|
|
+ */
|
|
|
+ private String fileId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 引擎名
|
|
|
+ */
|
|
|
+ private String engine;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 桶名称
|
|
|
+ */
|
|
|
+ private String bucket;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 文件名
|
|
|
+ */
|
|
|
+ private String fileName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 文件原名
|
|
|
+ */
|
|
|
+ private String originalName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 文件大小kb
|
|
|
+ */
|
|
|
+ private Integer sizeKb;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 文件压缩后大小
|
|
|
+ */
|
|
|
+ private String sizeInfo;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 文件压缩后大小
|
|
|
+ */
|
|
|
+ private String fileSuffix;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 存储地址
|
|
|
+ */
|
|
|
+ private String storageUrl;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 下载地址
|
|
|
+ */
|
|
|
+ private String downloadUrl;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 图片缩略信息
|
|
|
+ */
|
|
|
+ private String thumbnail;
|
|
|
+}
|