using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LHDN.CRM.Models.ViewModels
{
    public class UserRoleMatrix
    {
        public List<UserRole> UserRoles { get; set; }
        public List<TaskCategory> TaskCategory { get; set; }
        public List<FunctionalTask> FunctionalTasks { get; set; }
        public List<UserRoleTask> UserRoleTasks { get; set; }
    }

    public class FunctionalTask
    {
        public int FunctionalTaskID { get; set; }
        public string FunctionalTaskCode { get; set; }
        public string FunctionalTaskName { get; set; }
        public int Category { get; set; }
        public bool Selected { get; set; }
    }

    public class UserRoleTask
    {
        public int FunctionalTaskID { get; set; }
        public int FunctionalRoleID { get; set; }
        public string FunctionalTaskCode { get; set; }
        public string FunctionalTaskName { get; set; }
    }

    public class TaskCategory
    {
        public int LookupParamID { get; set; }
        public string Category { get; set; }
        public List<FunctionalTask> FunctionalTasks { get; set; }
        public bool IsCollapse { get; set; }
        public bool SelectAll { get; set; }

    }

  
}