Product.cs 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace DemoexamUser11
  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.ProductCostHistory = new HashSet<ProductCostHistory>();
  19. this.ProductMaterial = new HashSet<ProductMaterial>();
  20. this.ProductSale = new HashSet<ProductSale>();
  21. }
  22. public int ID { get; set; }
  23. public string Title { get; set; }
  24. public Nullable<int> ProductTypeID { get; set; }
  25. public string ArticleNumber { get; set; }
  26. public string Description { get; set; }
  27. public string Image { get; set; }
  28. public Nullable<int> ProductionPersonCount { get; set; }
  29. public Nullable<int> ProductionWorkshopNumber { get; set; }
  30. public decimal MinCostForAgent { get; set; }
  31. public virtual ProductType ProductType { get; set; }
  32. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  33. public virtual ICollection<ProductCostHistory> ProductCostHistory { get; set; }
  34. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  35. public virtual ICollection<ProductMaterial> ProductMaterial { get; set; }
  36. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  37. public virtual ICollection<ProductSale> ProductSale { get; set; }
  38. }
  39. }