Teams.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace Курсовой_проект_3._1
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Teams
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Teams()
  17. {
  18. this.Achievements = new HashSet<Achievements>();
  19. this.Matches = new HashSet<Matches>();
  20. this.Matches1 = new HashSet<Matches>();
  21. this.Matches2 = new HashSet<Matches>();
  22. this.TeamApps = new HashSet<TeamApps>();
  23. this.TeamsUsers = new HashSet<TeamsUsers>();
  24. }
  25. public int Id { get; set; }
  26. public string Name { get; set; }
  27. public System.DateTime FoundationDate { get; set; }
  28. public Nullable<System.DateTime> DissolationDate { get; set; }
  29. public string PhoneNumber { get; set; }
  30. public string Email { get; set; }
  31. public string About { get; set; }
  32. public string LogoPath { get; set; }
  33. public int FK_Creater_Id { get; set; }
  34. public int FK_Country_Id { get; set; }
  35. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  36. public virtual ICollection<Achievements> Achievements { get; set; }
  37. public virtual Countries Countries { get; set; }
  38. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  39. public virtual ICollection<Matches> Matches { get; set; }
  40. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  41. public virtual ICollection<Matches> Matches1 { get; set; }
  42. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  43. public virtual ICollection<Matches> Matches2 { get; set; }
  44. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  45. public virtual ICollection<TeamApps> TeamApps { get; set; }
  46. public virtual Users Users { get; set; }
  47. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  48. public virtual ICollection<TeamsUsers> TeamsUsers { get; set; }
  49. }
  50. }