123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace TEAMModelOS.SDK.Models
- {
- /// <summary>
- /// id hbcn 学校编码
- /// code SchoolSetting
- ///
- /// </summary>
- public class SchoolSetting :CosmosEntity
- {
-
- /// <summary>
- /// 开启互评
- /// </summary>
- public int hpappraise { get; set; } = 0;
- /// <summary>
- /// 政策文件
- /// </summary>
- public List<Policy> policy { get; set; } = new List<Policy>();
- /// <summary>
- /// 资源文件
- /// </summary>
- public List<Policy> resource { get; set; } = new List<Policy>();
- /// <summary>
- /// 第三方
- /// </summary>
- public List<Policy> third { get; set; } = new List<Policy>();
- /// <summary>
- /// 课堂记录的标签
- /// </summary>
- public HashSet<string> lessonTag { get; set; } = new HashSet<string>();
- public LessonSetting lessonSetting { get; set; }= new LessonSetting();
- /// <summary>
- /// 五育数据统计规则
- /// </summary>
- public OverallEducationSetting overallEducationSetting { get; set; } = new OverallEducationSetting();
-
- }
-
- public class OverallEducationSetting
- {
- // newest最新 avg平均 sum总和
- public string sports { get; set; } = "newest";
- public string art { get; set; } = "newest";
- public string labour { get; set; } = "sum";
- public string intelligence { get; set; } = "avg";
- public string virtue { get; set; } = "sum";
- public string lesson { get; set; } = "sum";
- public List<ReviewLevel> reviewLevel { get; set; } = new List<ReviewLevel>() {
- new ReviewLevel { code="A", value = new List<double> { 85,100 } },
- new ReviewLevel { code="B", value = new List<double> { 75,85 } },
- new ReviewLevel { code="C", value = new List<double> { 60,75 } } ,
- new ReviewLevel { code="D", value = new List<double> { 0,60 } } ,
- };
- /// <summary>
- /// 五育默认初始值
- /// </summary>
- public double overallEducationInit { get; set; } = 60;
- /// <summary>
- /// 推送到五育数据的评测类型
- /// </summary>
- public List<string> examTypes { get; set; } = new List<string>();
- public List<CodeDouble> intelligenceWeight { get; set; } = new List<CodeDouble>() {
- new CodeDouble { code = "attitude", value = 0.10 ,name ="态度"},//态度
- new CodeDouble { code = "cooperate", value = 0.10,name="合作" },//合作
- new CodeDouble { code = "ability", value = 0.10 ,name ="能力"},//能力
- new CodeDouble { code = "standard", value = 0.70,name= "态度" },//水平
- };
- }
- public class CodeLong
- {
-
- public long value { get; set; }
- public string code { get; set; }
- }
- public class CodeDouble
- {
- //attitude cooperate ability standard
- public double value { get; set; }
- public string code { get; set; }
- public string name { get; set; }
- }
- public class LessonSetting
- {
- /// <summary>
- /// 是否开启自动清理 1 开启,0未开启
- /// </summary>
- public int openAutoClean { get; set; }
- /// <summary>
- /// 保留多少天
- /// </summary>
- public int expireDays { get; set; }
- public List<LessonSettingCond> conds { get; set; }
- }
- public class LessonSettingCond
- {
- public string key { get; set; }
- public double val { get; set; }
- public string type { get; set; }
- }
- }
|