using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TEAMModelOS.SDK.Models { /// /// id hbcn 学校编码 /// code SchoolSetting /// /// public class SchoolSetting :CosmosEntity { /// /// 开启互评 /// public int hpappraise { get; set; } = 0; /// /// 政策文件 /// public List policy { get; set; } = new List(); /// /// 资源文件 /// public List resource { get; set; } = new List(); /// /// 第三方 /// public List third { get; set; } = new List(); /// /// 课堂记录的标签 /// public HashSet lessonTag { get; set; } = new HashSet(); public LessonSetting lessonSetting { get; set; }= new LessonSetting(); public OverallEducationSetting overallEducationSetting { get; set; } = new OverallEducationSetting(); public List reviewLevel { get; set; } = new List(); } public class OverallEducationSetting { // newest avg sum public string sports { get; set; } = "newest"; public string art { get; set; } = "newest"; public string labour { get; set; } = "newest"; public string intelligence { get; set; } = "newest"; public string virtue { get; set; } = "newest"; } public class LessonSetting { /// /// 是否开启自动清理 1 开启,0未开启 /// public int openAutoClean { get; set; } /// /// 保留多少天 /// public int expireDays { get; set; } public List conds { get; set; } } public class LessonSettingCond { public string key { get; set; } public double val { get; set; } public string type { get; set; } } }