using System;
using System.Collections.Generic;

// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable

namespace MS.WebApi.stockdbModels
{
    public partial class IProductCategories
    {
        public IProductCategories()
        {
            IProducts = new HashSet<IProducts>();
            InverseParent = new HashSet<IProductCategories>();
        }

        public int Id { get; set; }
        public string Uid { get; set; }
        public int? SiteId { get; set; }
        public bool IsDeleted { get; set; }
        public long Version { get; set; }
        public DateTime Created { get; set; }
        public DateTime Modified { get; set; }
        public DateTime? Deleted { get; set; }
        public string Name { get; set; }
        public int? ParentId { get; set; }
        public int Weight { get; set; }
        public bool AllowIn { get; set; }
        public bool AllowOut { get; set; }

        public virtual IProductCategories Parent { get; set; }
        public virtual ICollection<IProducts> IProducts { get; set; }
        public virtual ICollection<IProductCategories> InverseParent { get; set; }
    }
}
