using Entities.Contracts; using System; using System.Collections.Generic; namespace Entities.DTO { public class StudentSubmissionDetailDto { // 基本信息 public Guid Id { get; set; } public Guid AssignmentId { get; set; } public Guid StudentId { get; set; } public DateTime SubmissionTime { get; set; } public float OverallGrade { get; set; } public string OverallFeedback { get; set; } = string.Empty; public SubmissionStatus Status { get; set; } // Assignment信息 public AssignmentDto Assignment { get; set; } = new AssignmentDto(); // 错误分析 public Dictionary ErrorTypeDistribution { get; set; } = new Dictionary(); public Dictionary ErrorTypeScoreDistribution { get; set; } = new Dictionary(); // 成绩统计 public int TotalRank { get; set; } public List AllScores { get; set; } = new List(); public float AverageScore { get; set; } public float ClassAverageScore { get; set; } // 课文分布 public Dictionary LessonErrorDistribution { get; set; } = new Dictionary(); public Dictionary KeyPointErrorDistribution { get; set; } = new Dictionary(); // 基础统计 public int TotalQuestions { get; set; } public int CorrectCount { get; set; } public int ErrorCount { get; set; } public float AccuracyRate { get; set; } } }