

using System;

namespace OnlineSalesAutoCrop.CoreAPI.Models.Responses.MobileApp;

public class AppAuthUserResponse 
{
    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; }
}


public class AuthLogoutResponse   
{
    public int UserId { get; set; }
    public string LoginId { get; set; }
    public bool IsSuccess { get; set; }
}

public class AppChangePasswordResponse 
{
    public int UserId { get; set; }
    public string LoginId { get; set; }
    public bool IsSuccess { get; set; }
}