using System.Collections.Generic; using TIAM.Entities.Users; namespace TIAMWebApp.Shared.Application.Models { public class UserSessionModel { public Guid UserId { get; set; } public UserType UserType { get; set; } public string Email { get; set; } public Dictionary? HasProperties { get; set; } public int UserRoles { get; set; } public Dictionary UserRolesDictionary { get; set; } public UserSessionModel(Guid userId, UserType userType, string email, Dictionary? hasProperties, int userRoles) { UserId = userId; UserType = userType; Email = email; HasProperties = hasProperties; //UserRoles = userRoles; //UserRolesDictionary = new Dictionary(); } } public enum UserType { Hotel = 1, Transfer = 2, Guide = 3, Admin = 4, User = 5, Driver = 6 } }