struct&&assiQues
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user