Files
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

66 lines
2.2 KiB
C#

namespace Fitness_core_BE.DTOs.Mobile
{
public class SendOtpRequest
{
public string Identifier { get; set; } = string.Empty;
public int NumberOfDigits { get; set; } = 4;
public bool NewUser { get; set; }
}
public class VerifyOtpLoginRequest
{
public string OtpCode { get; set; } = string.Empty;
public string ReferenceNumber { get; set; } = string.Empty;
}
public class VerifyOtpAltRequest
{
public string OtpCode { get; set; } = string.Empty;
public string ReferenceNumber { get; set; } = string.Empty;
public string? IdentifireType { get; set; }
public string? Identifier { get; set; }
}
public class RefreshTokenRequest
{
public string? RefreshToken { get; set; }
}
public class RegisterCustomerRequest
{
public string Gender { get; set; } = string.Empty;
public string Bod { get; set; } = string.Empty;
public string UserTypeId { get; set; } = string.Empty;
public string RoleId { get; set; } = string.Empty;
public bool ChkUser { get; set; }
public string? DeviceName { get; set; }
public string? PushTokenId { get; set; }
public string Fullname { get; set; } = string.Empty;
public string MobileNumber { get; set; } = string.Empty;
}
public class ForgotPasswordRequest
{
public string Identifier { get; set; } = string.Empty;
public bool UseResetLink { get; set; }
public int NumberOfDigits { get; set; } = 6;
}
public class ResetPasswordRequest
{
public string ReferenceNumber { get; set; } = string.Empty;
public string NewPassword { get; set; } = string.Empty;
public string ConfirmPassword { get; set; } = string.Empty;
}
// Verifies an OTP for a customer's own channel and sets the matching verified flag.
public class VerifyChannelRequest
{
// "PrimaryPH" | "SecondaryPH" | "Email"
public string IdentifireType { get; set; } = string.Empty;
public string OtpCode { get; set; } = string.Empty;
public string ReferenceNumber { get; set; } = string.Empty;
public string Identifier { get; set; } = string.Empty;
}
}