using SqlSugar; namespace dy.net.model { [SugarTable(TableName = "dy_app_config")] public class AppConfig { /// /// /// [SugarColumn(IsPrimaryKey = true,Length =100)] public string Id { get; set; } [SugarColumn(Length =200,IsNullable =true)] public string Cron { get; set; } /// /// 每次查询数量 /// public int BatchCount { get; set; } = 10; /// /// 博主视频是否 直接用标题做文件名 /// public bool UperUseViedoTitle { get; set; } /// /// 是否博主视频直接放一个根目录,不另外按名字建文件夹 /// public bool UperSaveTogether { get; set; } /// /// 是否下载图片视频 /// public bool DownImageVideo { get; set; } /// /// 日志保留天数,防止容器日志太多,默认10天 /// public int LogKeepDay { get; set; } = 10; [SugarColumn(IsIgnore=true)] public bool DownImageVideoFromEnv { get; set; } } }