import { FileEntity } from './file.entity'; /** * 文件元数据实体 */ export declare class FileMetadataEntity { id: string; fileId: string; key: string; /** * 元数据值(JSON 字符串) * 支持存储任何 JSON 可序列化的数据 */ value: string; isPublic: boolean; createdAt: Date; file: FileEntity; /** * 获取值(自动解析 JSON) */ getValue(): T; /** * 设置值(自动序列化为 JSON 字符串) */ setValue(value: any): void; }