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.AuthServiceDatabase_Models
{
    public partial class AspNetRoles
    {
        public AspNetRoles()
        {
            AspNetUserRoles = new HashSet<AspNetUserRoles>();
            InverseParentRole = new HashSet<AspNetRoles>();
            RoleOperations = new HashSet<RoleOperations>();
        }

        public string Id { get; set; }
        public string Description { get; set; }
        public DateTime? CreatedDateTime { get; set; }
        public string ParentRoleId { get; set; }
        public string Name { get; set; }

        public virtual AspNetRoles ParentRole { get; set; }
        public virtual ICollection<AspNetUserRoles> AspNetUserRoles { get; set; }
        public virtual ICollection<AspNetRoles> InverseParentRole { get; set; }
        public virtual ICollection<RoleOperations> RoleOperations { get; set; }
    }
}
