struct&&assiQues

This commit is contained in:
SpecialX
2025-06-20 15:37:39 +08:00
parent f37262d72e
commit d20c051c51
68 changed files with 1927 additions and 2869 deletions

View File

@@ -23,7 +23,6 @@ namespace Entities.Contracts
[Required]
[Column("student_id")]
[ForeignKey("User")]
public Guid StudentId { get; set; }
[Required]
@@ -52,8 +51,11 @@ namespace Entities.Contracts
[Column("deleted")]
public bool IsDeleted { get; set; }
[ForeignKey(nameof(StudentId))]
public User Student { get; set; }
public Submission Submission { get; set; }
public User User { get; set; }
public AssignmentQuestion AssignmentQuestion { get; set; }
public SubmissionDetail()