Product.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Manual changes to this file may cause unexpected behavior in your application.
  6. // Manual changes to this file will be overwritten if the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace examPrepare
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Product
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Product()
  17. {
  18. this.OrderProduct = new HashSet<OrderProduct>();
  19. }
  20. public string ProductArticleNumber { get; set; }
  21. public string ProductName { get; set; }
  22. public string ProductDescription { get; set; }
  23. public int ProductCategory { get; set; }
  24. public int ProductManufacturer { get; set; }
  25. public decimal ProductCost { get; set; }
  26. public Nullable<byte> ProductDiscountAmount { get; set; }
  27. public int ProductQuantityInStock { get; set; }
  28. public string ProductUnit { get; set; }
  29. public Nullable<int> ProductVendor { get; set; }
  30. public Nullable<double> ProductCurrentDiscount { get; set; }
  31. public string ProductPhoto { get; set; }
  32. public virtual Manufacturer Manufacturer { get; set; }
  33. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  34. public virtual ICollection<OrderProduct> OrderProduct { get; set; }
  35. public virtual ProductVendor ProductVendor1 { get; set; }
  36. public virtual ProductCategory ProductCategory1 { get; set; }
  37. }
  38. }