Player.cs 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 Player
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Player()
  17. {
  18. this.MatchupLogs = new HashSet<MatchupLogs>();
  19. this.PlayerInTeam = new HashSet<PlayerInTeam>();
  20. this.PlayerStatistic = new HashSet<PlayerStatistic>();
  21. }
  22. public int IdPlayer { get; set; }
  23. public string Surename { get; set; }
  24. public string Name { get; set; }
  25. public string Patronymic { get; set; }
  26. public Nullable<int> IdPosition { get; set; }
  27. public Nullable<System.DateTime> JoinYear { get; set; }
  28. public Nullable<int> IdGender { get; set; }
  29. public Nullable<decimal> Height { get; set; }
  30. public Nullable<decimal> Weight { get; set; }
  31. public Nullable<System.DateTime> DateOfBirth { get; set; }
  32. public string College { get; set; }
  33. public string Email { get; set; }
  34. public Nullable<int> IdCountry { get; set; }
  35. public Nullable<bool> IsRetiment { get; set; }
  36. public Nullable<System.DateTime> RetirmentTime { get; set; }
  37. public byte[] Image { get; set; }
  38. public virtual Country Country { get; set; }
  39. public virtual Gender Gender { get; set; }
  40. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  41. public virtual ICollection<MatchupLogs> MatchupLogs { get; set; }
  42. public virtual Position Position { get; set; }
  43. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  44. public virtual ICollection<PlayerInTeam> PlayerInTeam { get; set; }
  45. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  46. public virtual ICollection<PlayerStatistic> PlayerStatistic { get; set; }
  47. }
  48. }