InventoryManager / Entities / Material.cs
Material.cs
Raw
using System;
using System.Collections.Generic;

#nullable disable

namespace InventoryManager.Entities
{
    public partial class Material
    {
        public Material()
        {
            Products = new HashSet<Product>();
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public int Supplier { get; set; }
        public int Unit { get; set; }

        public virtual Supplier SupplierNavigation { get; set; }
        public virtual Unit UnitNavigation { get; set; }
        public virtual ICollection<Product> Products { get; set; }
    }
}