47 lines
1.4 KiB
C#
47 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace _0_Framework.Application;
|
|
|
|
public class AuthViewModel
|
|
{
|
|
public long Id { get; set; }
|
|
public long RoleId { get; set; }
|
|
public string Role { get; set; }
|
|
public string Fullname { get; set; }
|
|
public string Username { get; set; }
|
|
public string Mobile { get; set; }
|
|
public string RoleName { get; set; }
|
|
public string ProfilePhoto { get; set; }
|
|
public List<int> Permissions { get; set; }
|
|
public string AdminAreaPermission { get; set; }
|
|
public string ClientAriaPermission { get; set; }
|
|
|
|
#region Mahan
|
|
|
|
public int? PositionValue { get; set; }
|
|
public string WorkshopSlug { get; set; }
|
|
public List<WorkshopClaim> WorkshopList { get; set; }
|
|
|
|
#endregion
|
|
|
|
public AuthViewModel(long id, long roleId, string fullname, string username, string mobile,string profilePhoto,
|
|
List<int> permissions, string roleName, string adminAreaPermission, string clientAriaPermission, int? positionValue)
|
|
{
|
|
Id = id;
|
|
RoleId = roleId;
|
|
Fullname = fullname;
|
|
Username = username;
|
|
Mobile = mobile;
|
|
ProfilePhoto = profilePhoto;
|
|
Permissions = permissions;
|
|
RoleName = roleName;
|
|
AdminAreaPermission = adminAreaPermission;
|
|
ClientAriaPermission = clientAriaPermission;
|
|
PositionValue = positionValue;
|
|
|
|
}
|
|
|
|
public AuthViewModel()
|
|
{
|
|
}
|
|
} |