using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using TEAMModelOS.SDK.Models.Cosmos.OpenEntity; namespace TEAMModelOS.SDK.Models { public class StudentArtResult:CosmosEntity { //id:hbcn-20220101 //code:ArtResult-活动id //pk:ArtResult public string studentId { get; set; } public string studentName { get; set; } public string picture { get; set; } public int userType { get; set; } public string school { get; set; } public List classIds { get; set; } = new List(); public string artId { get; set; } public double totalScore { get; set; } = 0; public List subjectScores { get; set; } = new List(); public List results { get; set; } = new List(); public string blob { get; set; } public string comment { get; set; } public Attachment pdf { get; set; }= new Attachment(); /// /// 艺术评测 音乐 从智音传过来的分数结果信息 /// public OAnswer zyanswer { get; set; } = new OAnswer(); //0未作答 1已作答 //public int isAnswer { get; set; } = 0; } public class ArtSubjectScore { public string subjectId { get; set; } public double score { get; set; } = 0; public string comment { get; set; } } public class ArtQuotaResult { /// /// 任务id /// public string taskId { get; set; } /// /// 任务名称 /// public string taskName { get; set; } /// /// 科目id /// public string subjectId { get; set; } /// /// 科目名称 /// public string subjectName { get; set; } /// /// 指标id /// public string quotaId { get; set; } /// /// 指标名称 /// public string quotaName { get; set; } /// /// 指标类型-1未设定 0评分,1评测,2作业 /// public int quotaType { get; set; } /// /// 分数 /// public double score { get; set; } = -1; public string name { get; set; } public List files { get; set; } /// /// 分数结果来源 0醍摩豆系统分数结果 1智音传分数结果 /// public int source { get; set; } = 0; } public class ArtStudentPdf { public string schoolName { get; set; } public string periodId { get; set; } public string periodName { get; set; } public string schoolCode { get; set; } public string studentId { get; set; } public string studentName { get; set; } public string picture { get; set; } public List classNames { get; set; } = new List(); public string artName { get; set; } public string artId { get; set; } public string level { get; set; } public double score { get; set; } /// /// 评语 /// public string comment { get; set; } public List allSubjectQuotas { get; set; } = new List(); public List subjectPdfs { get; set; } = new List(); public string blob { get; set;} public string blobFullUrl { get; set; } } /// /// 艺术评测科目PDF /// public class ArtSubjectPdf { /// /// 科目id /// public string subjectId { get; set; } /// /// 科目id /// public string subjectName { get; set; } /// /// 知识点 /// public List pointPdfs { get; set; } = new List(); public string comment { get; set; } } /// /// 艺术评测知识点PDF /// public class ArtPointPdf { /// /// 艺术评测考核维度 /// public string dimension { get; set; } /// /// 艺术评测考核知识块 /// public string block { get; set; } /// /// 艺术评测考核知识点 /// public string point { get; set; } /// /// 得分 /// public double score { get; set; } /// /// 得分率 /// public double percent { get; set; } /// /// 知识点配分 /// public double totalScore { get; set; } } /// /// 艺术评测指标维度PDF输出。 /// public class ArtQuotaPdf { public string quota1 { get; set; } public string quota2 { get; set; } public string quota3 { get; set; } public string quotaN1 { get; set; } public string quotaN2 { get; set; } public string quotaN3 { get; set; } public double quotaP1 { get; set; } public double quotaP2 { get; set; } public double quotaP3 { get; set; } public string quotaId { get; set; } public string quotaName { get; set; } public string scoreData { get; set; } public double score { get; set; } public string percent { get; set; } public string level { get; set; } } public class StudentArt { [Required(ErrorMessage = "studentId 必须设置")] public string studentId { get; set; } public double totalScore { get; set; } = -1; public List results { get; set; } = new List(); public List subjectScores { get; set; } = new List(); } public class ArtResult { /// /// 任务id /// [Required(ErrorMessage = "taskId 必须设置")] public string taskId { get; set; } /// /// 科目id /// [Required(ErrorMessage = "subjectId 必须设置")] public string subjectId { get; set; } /// /// 指标id /// [Required(ErrorMessage = "quotaId 必须设置")] public string quotaId { get; set; } /// /// 分数 /// public double score { get; set; } } }