using FreeSql.DataAnnotations; namespace Store.Modules.CloudProduct.Entities; /// 跨用户复用的图片识别数据,仅存储成功识别结果。 [Table(Name = "image_analysis_cache")] public sealed class ImageAnalysisCache { /// 客户端指定的 MD5 缓存键,统一保存为 32 位小写十六进制。 [Column(IsPrimary = true, StringLength = 32)] public string CacheKey { get; set; } = ""; /// 模型识别结果的 JSON 字符串数组,空数组表示未识别到文字或品牌。 [Column(DbType = "longtext")] public string RecognitionResult { get; set; } = ""; /// 缓存最近更新时间,UTC。 public DateTime UpdatedAt { get; set; } }