BotSharp/src/Infrastructure/BotSharp.OpenAPI/ViewModels/Users/UserResetPasswordModel.cs

22 lines
532 B
C#
Raw Normal View History

namespace BotSharp.OpenAPI.ViewModels.Users;
public class UserResetPasswordModel
{
public string? Email { get; set; }
public string? Phone { get; set; }
public string Password { get; set; } = string.Empty;
public string VerificationCode { get; set; }
2024-10-22 09:43:15 +00:00
public string? RegionCode { get; set; }
public User ToUser()
{
return new User
{
Email = Email,
Phone = Phone,
Password = Password,
VerificationCode = VerificationCode
};
}
}