Question.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. namespace EntranseTesting.Models;
  4. public partial class Question
  5. {
  6. public int Id { get; set; }
  7. public string? Name { get; set; }
  8. public int IdCategory { get; set; }
  9. public double Price { get; set; }
  10. public bool? InTest { get; set; }
  11. public virtual ICollection<ElementOfArrangement> ElementOfArrangements { get; set; } = new List<ElementOfArrangement>();
  12. public virtual ICollection<ElementOfChoose> ElementOfChooses { get; set; } = new List<ElementOfChoose>();
  13. public virtual ICollection<ElementOfEquality> ElementOfEqualities { get; set; } = new List<ElementOfEquality>();
  14. public virtual ICollection<Group> Groups { get; set; } = new List<Group>();
  15. public virtual Category IdCategoryNavigation { get; set; } = null!;
  16. public virtual ICollection<QuestionHint> QuestionHints { get; set; } = new List<QuestionHint>();
  17. public virtual ICollection<QuestionImage> QuestionImages { get; set; } = new List<QuestionImage>();
  18. public virtual ICollection<TextOfPutting> TextOfPuttings { get; set; } = new List<TextOfPutting>();
  19. public virtual ICollection<UserResponse> UserResponses { get; set; } = new List<UserResponse>();
  20. }