mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
13 lines
289 B
C#
13 lines
289 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Marechai.Data.Models;
|
|
|
|
public sealed record ChangePasswordRequest
|
|
{
|
|
[Required]
|
|
[MinLength(6)]
|
|
[JsonPropertyName("newPassword")]
|
|
public string NewPassword { get; set; } = null!;
|
|
}
|