products.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace kursach_2._0
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class products
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public products()
  17. {
  18. this.cards = new HashSet<cards>();
  19. }
  20. public int id_product { get; set; }
  21. public Nullable<int> id_distributor { get; set; }
  22. public string product_name { get; set; }
  23. public string product_type { get; set; }
  24. public System.DateTime production_date { get; set; }
  25. public string warranty { get; set; }
  26. public Nullable<decimal> wholesale_price { get; set; }
  27. public Nullable<decimal> retail_price { get; set; }
  28. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  29. public virtual ICollection<cards> cards { get; set; }
  30. public virtual distributors distributors { get; set; }
  31. }
  32. }