using dy.net.model.dto; using SqlSugar; namespace dy.net.model.entity { /// /// 收藏夹-自定义收藏夹、合集、短剧 /// [SugarTable(TableName = "dy_collect_cate")] public class DouyinCollectCate { /// /// /// [SugarColumn(IsPrimaryKey = true)] public string Id { get; set; } /// /// 关联cookieId /// public string CookieId { get; set; } /// /// 收藏夹名称 /// [SugarColumn(Length = 500, IsNullable = false)] public string Name { get; set; } /// /// 收藏夹Id、合集Id、短剧Id /// [SugarColumn(Length =60,IsNullable =false)] public string XId { get; set; } /// /// 封面 /// [SugarColumn(Length =500,IsNullable =true)] public string CoverUrl { get; set; } /// /// 保存文件夹 /// [SugarColumn(Length =500,IsNullable =true)] public string SaveFolder { get; set; } /// /// 是否开启同步 /// public bool Sync { get; set; } /// /// 收藏夹类型(5:自定义收藏夹,6:合集,7:短剧) /// public VideoTypeEnum CateType { get; set; } public DateTime CreateTime { get; set; } [SugarColumn(IsNullable =true)] public DateTime? UpdateTime { get; set; } /// /// 是否已完结 /// public bool IsEnd { get; set; } /// /// 总集数 /// public int Total { get; set; } } }