refactor: 完善系统文件和图片数据模型
优化系统文件管理相关的数据模型: - SysFile/SysFileVo: 系统文件实体和视图对象 - SysPicture/SysPictureVo: 系统图片实体和视图对象 增强文件上传、存储和管理功能的数据结构支持, 为多存储方式(本地、OSS)提供统一的数据模型。
This commit is contained in:
parent
1d00183a42
commit
a810edb0bc
@ -22,7 +22,7 @@ public class SysFileVo extends BaseVo {
|
|||||||
/** 文件后缀 */
|
/** 文件后缀 */
|
||||||
private String fileSuffix;
|
private String fileSuffix;
|
||||||
|
|
||||||
/** 文件服务类型[1-LOCAL,2-MINIO,3-OSS] */
|
/** 文件服务类型[1-LOCAL,3-OSS] */
|
||||||
private String fileService;
|
private String fileService;
|
||||||
|
|
||||||
/** 文件类型[0-全部 1-图片 2-文档 3-音频 4-视频 5-压缩包 6-应用程序 9-其他] */
|
/** 文件类型[0-全部 1-图片 2-文档 3-音频 4-视频 5-压缩包 6-应用程序 9-其他] */
|
||||||
|
|||||||
@ -42,7 +42,7 @@ public class SysPictureVo extends BaseVo {
|
|||||||
/** 图片回显路径 */
|
/** 图片回显路径 */
|
||||||
private String picturePath;
|
private String picturePath;
|
||||||
|
|
||||||
/** 图片服务类型[1-LOCAL,2-MINIO,3-OSS] */
|
/** 图片服务类型[1-LOCAL,3-OSS] */
|
||||||
private String pictureService;
|
private String pictureService;
|
||||||
|
|
||||||
/** 创建时间 */
|
/** 创建时间 */
|
||||||
|
|||||||
@ -51,7 +51,7 @@ public class SysFile implements Serializable {
|
|||||||
@TableField(value = "file_path")
|
@TableField(value = "file_path")
|
||||||
private String filePath;
|
private String filePath;
|
||||||
|
|
||||||
/** 文件服务类型[1-LOCAL,2-MINIO,3-OSS */
|
/** 文件服务类型[1-LOCAL,3-OSS] */
|
||||||
@TableField(value = "file_service")
|
@TableField(value = "file_service")
|
||||||
private String fileService;
|
private String fileService;
|
||||||
|
|
||||||
|
|||||||
@ -51,7 +51,7 @@ public class SysPicture implements Serializable {
|
|||||||
@TableField(value = "picture_path")
|
@TableField(value = "picture_path")
|
||||||
private String picturePath;
|
private String picturePath;
|
||||||
|
|
||||||
/** 图片服务类型[1-LOCAL,2-MINIO,3-OSS] */
|
/** 图片服务类型[1-LOCAL,3-OSS] */
|
||||||
@TableField(value = "picture_service")
|
@TableField(value = "picture_service")
|
||||||
private String pictureService;
|
private String pictureService;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user