exam_service
This commit is contained in:
@@ -15,10 +15,9 @@ namespace Entities.Contracts
|
||||
[Column("id")]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[Column("assignment")]
|
||||
[ForeignKey("Assignment")]
|
||||
public Guid AssignmentId { get; set; }
|
||||
public Guid? AssignmentId { get; set; }
|
||||
|
||||
[Required]
|
||||
[Column("title")]
|
||||
@@ -31,7 +30,7 @@ namespace Entities.Contracts
|
||||
|
||||
|
||||
[Column("total_points")]
|
||||
public decimal? TotalPoints { get; set; }
|
||||
public float? TotalPoints { get; set; }
|
||||
|
||||
[Column("number")]
|
||||
public byte Number { get; set; }
|
||||
@@ -42,9 +41,12 @@ namespace Entities.Contracts
|
||||
[Column("deleted")]
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
[Column("valid_question_group")]
|
||||
public bool ValidQuestionGroup { get; set; }
|
||||
|
||||
// Navigation Properties
|
||||
public Assignment Assignment { get; set; }
|
||||
public AssignmentGroup ParentAssignmentGroup { get; set;}
|
||||
public Assignment? Assignment { get; set; }
|
||||
public AssignmentGroup? ParentAssignmentGroup { get; set;}
|
||||
public ICollection<AssignmentGroup> ChildAssignmentGroups { get; set; }
|
||||
public ICollection<AssignmentQuestion> AssignmentQuestions { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user