using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Roles
    {
        public Roles()
        {
            ModuleRoles = new HashSet<ModuleRoles>();
            Users = new HashSet<Users>();
        }

        public int Id { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public short AccessLevel { get; set; }
        public string Description { get; set; }
        public bool? IsActive { get; set; }

        public virtual ICollection<ModuleRoles> ModuleRoles { get; set; }
        public virtual ICollection<Users> Users { get; set; }
    }
}
