import { BusinessPO } from '../common/base' export interface LogFile extends BusinessPO { // 文件备份状态 backupStatusStr?: string // 文件转换消息 convertMessage?: string // 转换状态 convertStatusStr?: string // 文件大小 fileSize?: number // 文件大小 fileSizeStr?: string // 文件类型、后缀 fileType?: string // md5 md5Hex?: string // 新文件名 newFileName?: string // 上传文件名称 oldFileName?: string // 目标主机地址(oss不同文件服务器) targetHost?: string // 文件上传路径 uploadPath: string // 文件上传路径 filePath?: string /** * @deprecated * 此字段已不建议使用,请使用 uploadPath 或 filePath */ url?: string /** * 文件备份状态(0默认,1待备份,2不备份,3已备份,4备份失败) */ backupStatus?: 0 | 1 | 2 | 3 | 4 /** * 转换状态(0默认,1待转换,2不转换,3转换完成,4转换失败) */ convertStatus?: 0 | 1 | 2 | 3 | 4 [key: PropertyKey]: unknown }