1
This commit is contained in:
@@ -31,16 +31,16 @@ namespace Entities.Contracts
|
||||
public Guid AssignmentQuestionId { get; set; }
|
||||
|
||||
[Column("student_answer")]
|
||||
public string StudentAnswer { get; set; }
|
||||
public string? StudentAnswer { get; set; }
|
||||
|
||||
[Column("is_correct")]
|
||||
public bool? IsCorrect { get; set; }
|
||||
|
||||
[Column("points_awarded")]
|
||||
public float? PointsAwarded { get; set; }
|
||||
public float? PointsAwarded { get; set; } // score
|
||||
|
||||
[Column("teacher_feedback")]
|
||||
public string TeacherFeedback { get; set; }
|
||||
public string? TeacherFeedback { get; set; }
|
||||
|
||||
[Column("created_at")]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
@@ -54,8 +54,10 @@ namespace Entities.Contracts
|
||||
[ForeignKey(nameof(StudentId))]
|
||||
public User Student { get; set; }
|
||||
|
||||
[ForeignKey(nameof(SubmissionId))]
|
||||
public Submission Submission { get; set; }
|
||||
|
||||
[ForeignKey(nameof(AssignmentQuestionId))]
|
||||
public AssignmentQuestion AssignmentQuestion { get; set; }
|
||||
|
||||
public SubmissionDetail()
|
||||
|
Reference in New Issue
Block a user