using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; 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 class ArtSubjectScore { public string subjectId { get; set; } public double score { get; set; } = 0; } 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 List files { get; set; } } 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; } public string blob { 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; } } }