OnlineSalesAutoCrop/Api/OnlineSalesAutoCrop.CoreAPI.Models/Responses/MobileApp/AppUserResponse.cs

41 lines
1.2 KiB
C#
Raw Normal View History

2026-07-06 17:23:05 +06:00

using System;
namespace OnlineSalesAutoCrop.CoreAPI.Models.Responses.MobileApp;
2026-07-07 12:15:19 +06:00
public class AppAuthUserResponse
2026-07-06 17:23:05 +06:00
{
public int UserId { get; set; }
public string LoginId { get; set; }
public string Name { get; set; }
public string? Email { get; set; }
public string? MobileNumber { get; set; }
public string EmployeeNumber { get; set; }
public string DesignationCode { get; set; }
public string DesignationName { get; set; }
public bool IsLocked { get; set; }
public UserRoleTypeEnum UserRole { get; set; }
public string AccessToken { get; set; }
public DateTime AccessTokenExpiryTime { get; set; }
public string RefreshToken { get; set; }
public DateTime RefreshTokenExpiryTime { get; set; }
public EnumLoginStatus LoginStatus { get; set; }
public bool IsAuthorized { get; set; }
public bool IsInitialPassword { get; set; }
}
2026-07-07 12:15:19 +06:00
public class AuthLogoutResponse
2026-07-06 17:23:05 +06:00
{
public int UserId { get; set; }
public string LoginId { get; set; }
public bool IsSuccess { get; set; }
}
2026-07-07 12:15:19 +06:00
public class AppChangePasswordResponse
2026-07-06 17:23:05 +06:00
{
public int UserId { get; set; }
public string LoginId { get; set; }
public bool IsSuccess { get; set; }
}