28 lines
568 B
C#
28 lines
568 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TIAMWebApp.Shared.Application.Models
|
|
{
|
|
public class User
|
|
{
|
|
public bool IsLoggedIn { get; set; }
|
|
public UserType UserType { get; set; }
|
|
public int UserRoles { get; set; }
|
|
public Dictionary<int, string> UserRolesDictionary { get; set; }
|
|
|
|
}
|
|
|
|
public enum UserType
|
|
{
|
|
Hotel = 1,
|
|
Transfer = 2,
|
|
Guide = 3,
|
|
Admin = 4,
|
|
User = 5,
|
|
Driver= 6
|
|
}
|
|
}
|