Product.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. namespace OOO_WriteAndClear.DBModels;
  4. public partial class Product
  5. {
  6. public string ProductArticleNumber { get; set; } = null!;
  7. public string ProductName { get; set; } = null!;
  8. public string? ProductDescription { get; set; }
  9. public int CategoryId { get; set; }
  10. public int ProductMeasurmentId { get; set; }
  11. public string? ProductPhoto { get; set; }
  12. public int ProductSuppliarId { get; set; }
  13. public int ProductManufacturerId { get; set; }
  14. public decimal ProductCost { get; set; }
  15. public byte? ProductDiscountMax { get; set; }
  16. public decimal? ProductDiscountAmount { get; set; }
  17. public int ProductQuantityInStock { get; set; }
  18. public virtual Category Category { get; set; } = null!;
  19. public virtual ICollection<OrderProduct> OrderProducts { get; set; } = new List<OrderProduct>();
  20. public virtual Manufacturer ProductManufacturer { get; set; } = null!;
  21. public virtual Measurment ProductMeasurment { get; set; } = null!;
  22. public virtual Supplier ProductSuppliar { get; set; } = null!;
  23. }