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 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 { get; set; } = new List() {
new ReviewLevel { code="A", value = new List { 85,100 } },
new ReviewLevel { code="B", value = new List { 75,85 } },
new ReviewLevel { code="C", value = new List { 60,75 } } ,
new ReviewLevel { code="D", value = new List { 0,60 } } ,
};
///
/// 五育默认初始值
///
public double overallEducationInit { get; set; } = 60;
///
/// 推送到五育数据的评测类型
///
public List examTypes { get; set; } = new List();
public List intelligenceWeight { get; set; } = new List() {
new CodeDouble { code = "attitude", value = 0.25 },//态度
new CodeDouble { code = "cooperate", value = 0.25 },//合作
new CodeDouble { code = "ability", value = 0.25 },//能力
new CodeDouble { code = "standard", value = 0.25 },//水平
};
}
public class CodeDouble
{
//attitude cooperate ability standard
public double value { get; set; }
public string code { get; set; }
}
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; }
}
}