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.Models
{
    public partial class PosItemGroups
    {
        public PosItemGroups()
        {
            InverseParentGroup = new HashSet<PosItemGroups>();
            //PosItemAndGroupM2m = new HashSet<PosItemAndGroupM2m>();
        }

        public Guid Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public Guid SystemId { get; set; }
        public DateTime CreatedDateTime { get; set; }
        public Guid? ParentGroupId { get; set; }
        public string ControlCommand { get; set; }
        public int Status { get; set; }
        public int GroupType { get; set; }
        public DateTime? DeletedDateTime { get; set; }
        public bool IsDeleted { get; set; }
        public DateTime ModifiedDateTime { get; set; }
        public Guid? TargetBusinessUnitId { get; set; }

        public virtual PosItemGroups ParentGroup { get; set; }
        public virtual PosItemGroupSystems System { get; set; }
        public virtual ICollection<PosItemGroups> InverseParentGroup { get; set; }
        //public virtual ICollection<PosItemAndGroupM2m> PosItemAndGroupM2m { get; set; }
    }
}
