Team.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace NBAManagment.Entities
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Team
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Team()
  17. {
  18. this.Matchup = new HashSet<Matchup>();
  19. this.Matchup1 = new HashSet<Matchup>();
  20. this.MatchupLogs = new HashSet<MatchupLogs>();
  21. this.PlayerInTeam = new HashSet<PlayerInTeam>();
  22. this.PlayerStatistic = new HashSet<PlayerStatistic>();
  23. this.PostSeason = new HashSet<PostSeason>();
  24. }
  25. public int IdTeam { get; set; }
  26. public string TeamName { get; set; }
  27. public Nullable<int> IdDivision { get; set; }
  28. public string Couch { get; set; }
  29. public string Abbr { get; set; }
  30. public string Stadium { get; set; }
  31. public byte[] Logo { get; set; }
  32. public virtual Division Division { get; set; }
  33. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  34. public virtual ICollection<Matchup> Matchup { get; set; }
  35. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  36. public virtual ICollection<Matchup> Matchup1 { get; set; }
  37. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  38. public virtual ICollection<MatchupLogs> MatchupLogs { get; set; }
  39. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  40. public virtual ICollection<PlayerInTeam> PlayerInTeam { get; set; }
  41. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  42. public virtual ICollection<PlayerStatistic> PlayerStatistic { get; set; }
  43. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  44. public virtual ICollection<PostSeason> PostSeason { get; set; }
  45. }
  46. }