using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VOL.Model.Norm.Response { /// /// 智慧操场 /// public class SmartPlaygroundModel { /// /// 学校信息 /// public SchoolInfoModel SchoolInfo { get; set; } = new SchoolInfoModel(); /// /// 等级占比 /// public List RankStatsList { get; set; } = new List(); /// /// 各项目成绩情况 /// public Dictionary ResultSituationDic { get; set; } = new Dictionary(); /// /// 班级运动榜 /// public List ClassSportsRankList { get; set; } = new List(); /// /// 年级优良率 /// public Dictionary GradeExcellentRateDic { get; set; } = new Dictionary(); } public class ResultSituation { public int Vitality { get; set; } public List TestSituationsList { get; set; } = new List(); public Dictionary AvgTestResultDic { get; set; } = new Dictionary(); } public class RankStatsDto : TestSituationsModel { public int MaleRate { get; set; } public int FemaleRate { get; set; } } public class TestSituationsModel { public string Rank { get; set; } public int Count { get; set; } public int Rate { get; set; } public int MaleCount { get; set; } public int FemaleCount { get; set; } public int ActivityLevel { get; set; } } public class ClassSportsRankingDto { /// /// 排名 /// public int Rank { get; set; } /// /// 班级Id /// public int ClassId { get; set; } /// /// 班级名称 /// public string ClassName { get; set; } /// /// 运动次数 /// public int Count { get; set; } } public class GradeExcellentRate { public int Rate { get; set; } public int MaleRate { get; set; } public int FemaleRate { get; set; } } }