Person.cs 599 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace HallOfFame
  6. {
  7. public partial class Person
  8. {
  9. public Person()
  10. {
  11. ConPersonSkills = new HashSet<ConPersonSkill>();
  12. }
  13. [Key]
  14. public long Id { get; set; }
  15. public string Name { get; set; } = null!;
  16. public string DisplayName { get; set; } = null!;
  17. [InverseProperty("Person")]
  18. public virtual ICollection<ConPersonSkill> ConPersonSkills { get; set; }
  19. }
  20. }