using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AIK.Models.SQLiteModels { public class SplitCacheModelListItem { public int Id { get; set; } // 子表自增主键 public int ParentTableId { get; set; } // 关联父表 SplitCache_Parent.Id public string CacheKey { get; set; } = string.Empty; // 关联父表 SplitCache_Parent.CacheKey public int ParentID { get; set; } // 关联 VehModelClass.ID(原外层 ID) // VehKeyClass 基础字段 public int KeyId { get; set; } // 对应 VehKeyClass.id(注意:原实体 id 对应 KeyId,避免与子表自增 Id 冲突) public string KeyKeyId { get; set; } = string.Empty; // 对应 VehKeyClass.keyId(字段名加前缀避免关键字冲突) public string Name { get; set; } = string.Empty; public string ModelName { get; set; } = string.Empty; public string ModelEngName { get; set; } = string.Empty; public string ModelPuName { get; set; } = string.Empty; public string ModelXiName { get; set; } = string.Empty; public string ModelInName { get; set; } = string.Empty; public string Rate { get; set; } = string.Empty; public string Usable { get; set; } = string.Empty; public string UsableEn { get; set; } = string.Empty; public string UsablePu { get; set; } = string.Empty; public string UsableXi { get; set; } = string.Empty; public string Information { get; set; } = string.Empty; public string PicUrl { get; set; } = string.Empty; public string FirmwareNo { get; set; } = string.Empty; public string SourceUrl { get; set; } = string.Empty; public string SpCode { get; set; } = string.Empty; public string Support { get; set; } = string.Empty; public string ChipType { get; set; } = string.Empty; public string CreateTime { get; set; } = string.Empty; // keyMatch 嵌套类展开字段 public string KeyMatchContent { get; set; } = string.Empty; // keyMatch.content public string KeyMatchContentEn { get; set; } = string.Empty; // keyMatch.contentEn public string KeyMatchContentPu { get; set; } = string.Empty; // keyMatch.contentPu public string KeyMatchContentXi { get; set; } = string.Empty; // keyMatch.contentXi public string KeyMatchContentIn { get; set; } = string.Empty; // keyMatch.contentIn // 其他字段(BitmapImage 为UI字段,不存储;LocalImagePath 存储本地路径) public bool IsSelected { get; set; } = false; public string LocalImagePath { get; set; } = string.Empty; } }