assigonmentDto

This commit is contained in:
SpecialX
2025-06-24 11:37:12 +08:00
parent 681c0862b6
commit 0ee411bf50
11 changed files with 260 additions and 214 deletions

View File

@@ -20,10 +20,6 @@ namespace Entities.Contracts
[Column("question_id")]
public Guid? QuestionId { get; set; }
[Column("assignment")]
[ForeignKey("Assignment")]
public Guid? AssignmentId { get; set; }
[Column("title")]
[MaxLength(1024)]
public string? Title { get; set; }
@@ -54,7 +50,6 @@ namespace Entities.Contracts
public Question? Question { get; set; }
public Assignment? Assignment { get; set; }
[ForeignKey(nameof(QuestionContextId))]
public QuestionContext? QuestionContext { get; set; }