using System.ComponentModel.DataAnnotations;
using Timeline.Controllers;
namespace Timeline.Models.Http
{
///
/// Request model for .
///
public class HttpChangePasswordRequest
{
///
/// Old password.
///
[Required(AllowEmptyStrings = false)]
public string OldPassword { get; set; } = default!;
///
/// New password.
///
[Required(AllowEmptyStrings = false)]
public string NewPassword { get; set; } = default!;
}
}