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 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 long WorkshopId { get; set; } public string WorkshopName { get; set; } public List WorkshopList { get; set; } #endregion public long SubAccountId { get; set; } public AuthViewModel(long id, long roleId, string fullname, string username, string mobile,string profilePhoto, List permissions, string roleName, string adminAreaPermission, string clientAriaPermission, int? positionValue, long subAccountId = 0) { Id = id; RoleId = roleId; Fullname = fullname; Username = username; Mobile = mobile; ProfilePhoto = profilePhoto; Permissions = permissions; RoleName = roleName; AdminAreaPermission = adminAreaPermission; ClientAriaPermission = clientAriaPermission; PositionValue = positionValue; SubAccountId = subAccountId; } public AuthViewModel() { } }