galaeth-draft/Galaeth.ApiServer/Models/ChangePasswordRequest.cs

22 lines
484 B
C#
Raw Permalink Normal View History

using System.Text.Json.Serialization;
2024-11-17 10:31:01 +01:00
namespace Galaeth.ApiServer.Models;
/// <summary>
/// Change password request model.
/// </summary>
public class ChangePasswordRequest
{
/// <summary>
/// The user's old password.
/// </summary>
[JsonPropertyName("oldPassword")]
2024-11-17 10:31:01 +01:00
public string OldPassword { get; set; }
/// <summary>
/// The user's new password.
/// </summary>
[JsonPropertyName("newPassword")]
2024-11-17 10:31:01 +01:00
public string NewPassword { get; set; }
}