You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

79 lines
2.4 KiB

using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace CustomerOnlineV2.Common.Models.AccountModel
{
public class AccountModel
{
}
public class LoginModel
{
public string? UserName { get; set; }
public string? Password { get; set; }
public string? SessionId { get; set; }
public string? IpAddress { get; set; }
public bool RememberMe { get; set; }
}
public class ForceChangePasswordModel
{
public string? OldPassword { get; set; }
public string? NewPassword { get; set; }
public string? ConfirmNewPassword { get; set; }
public string? IpAddress { get; set; }
}
public class PasswordResetModel
{
public string? Username { get; set; }
public string? Dob { get; set; }
public string? IpAddress { get; set; }
public string? RandomPassword { get; set; }
}
public class LoginResponse : CommonResponse
{
public string? UserId { get; set; }
public string? UserName { get; set; }
public string? FullName { get; set; }
public string? MobileNumber { get; set; }
public string? Email { get; set; }
public bool RememberMe { get; set; }
public bool ForceChangePassword { get; set; }
public string? GoogleAuthCode { get; set; }
public string? SessionId { get; set; }
public string? RewardPoints { get; set; }
public string? MembershipId { get; set; }
public bool IsEmailVerified { get; set; }
public string? Selfiepath { get; set; }
}
public class VerifyOtpModel
{
public string? Email { get; set; }
public string otp { get; set; }
}
public class RequestOTPModel
{
public string? userId { get; set; }
public string? OTP { get; set; }
public string? requestFor { get; set; }
public string? receiverId { get; set; }
public string? mobileNo { get; set; }
public string? customerName { get; set; }
public string? IpAddress { get; set; }
public string? sessionId { get; set; }
public string? FcmId { get; set; }
public string? ProcessId { get; set; }
public string? MethodName { get; set; }
public string? CreatedBy { get; set; }
[JsonIgnore]
public string? DeviceType { get; set; }
[JsonIgnore]
public string? Lang { get; set; }
}
}