Matchup.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 Matchup
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Matchup()
  17. {
  18. this.MatchupDetail = new HashSet<MatchupDetail>();
  19. this.MatchupLogs = new HashSet<MatchupLogs>();
  20. }
  21. public int IdMatchup { get; set; }
  22. public Nullable<int> IdSeason { get; set; }
  23. public Nullable<int> IdMatchupType { get; set; }
  24. public Nullable<int> IdTeamAway { get; set; }
  25. public Nullable<int> IdTeamHome { get; set; }
  26. public Nullable<System.DateTime> Starttime { get; set; }
  27. public Nullable<int> TeamAwayScore { get; set; }
  28. public Nullable<int> TeamHomeScore { get; set; }
  29. public string Location { get; set; }
  30. public Nullable<int> IdStatus { get; set; }
  31. public virtual MatchupType MatchupType { get; set; }
  32. public virtual Season Season { get; set; }
  33. public virtual Status Status { get; set; }
  34. public virtual Team Team { get; set; }
  35. public virtual Team Team1 { get; set; }
  36. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  37. public virtual ICollection<MatchupDetail> MatchupDetail { get; set; }
  38. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  39. public virtual ICollection<MatchupLogs> MatchupLogs { get; set; }
  40. }
  41. }