Agent.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace Demo
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Agent
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Agent()
  17. {
  18. this.AgentPriorityHistory = new HashSet<AgentPriorityHistory>();
  19. this.ProductSale = new HashSet<ProductSale>();
  20. this.Shop = new HashSet<Shop>();
  21. }
  22. public int ID { get; set; }
  23. public string Title { get; set; }
  24. public int AgentTypeID { get; set; }
  25. public string Address { get; set; }
  26. public string INN { get; set; }
  27. public string KPP { get; set; }
  28. public string DirectorName { get; set; }
  29. public string Phone { get; set; }
  30. public string Email { get; set; }
  31. public string Logo { get; set; }
  32. public int Priority { get; set; }
  33. public virtual AgentType AgentType { get; set; }
  34. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  35. public virtual ICollection<AgentPriorityHistory> AgentPriorityHistory { get; set; }
  36. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  37. public virtual ICollection<ProductSale> ProductSale { get; set; }
  38. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  39. public virtual ICollection<Shop> Shop { get; set; }
  40. }
  41. }