Timofeev_pz8/shoe_store/Models/Product.cs

38 lines
888 B
C#

using System;
using System.Collections.Generic;
namespace shoe_store.Models;
public partial class Product
{
public string ArticleProduct { get; set; } = null!;
public string ProductName { get; set; } = null!;
public decimal Price { get; set; }
public int? SupplierId { get; set; }
public int? ManufacturerId { get; set; }
public int? CategoryId { get; set; }
public int SalePercent { get; set; }
public string UnitType { get; set; } = null!;
public string Description { get; set; } = null!;
public byte[]? Photo { get; set; }
public int QuantityInStock { get; set; }
public virtual Category? Category { get; set; }
public virtual Manufacturer? Manufacturer { get; set; }
public virtual ICollection<OrderItem> OrderItems { get; set; } = new List<OrderItem>();
public virtual Supplier? Supplier { get; set; }
}