Material.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace WpfApp5
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Material
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Material()
  17. {
  18. this.MaterialCountHistory = new HashSet<MaterialCountHistory>();
  19. this.ProductMaterial = new HashSet<ProductMaterial>();
  20. this.Supplier = new HashSet<Supplier>();
  21. }
  22. public int ID { get; set; }
  23. public string Title { get; set; }
  24. public int CountInPack { get; set; }
  25. public string Unit { get; set; }
  26. public Nullable<double> CountInStock { get; set; }
  27. public double MinCount { get; set; }
  28. public string Description { get; set; }
  29. public decimal Cost { get; set; }
  30. public string Image { get; set; }
  31. public int MaterialTypeID { get; set; }
  32. public virtual MaterialType MaterialType { get; set; }
  33. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  34. public virtual ICollection<MaterialCountHistory> MaterialCountHistory { get; set; }
  35. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  36. public virtual ICollection<ProductMaterial> ProductMaterial { get; set; }
  37. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  38. public virtual ICollection<Supplier> Supplier { get; set; }
  39. }
  40. }