using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
namespace Kyoo.Authentication.Models.DTO
{
///
/// A model only used on account update requests.
///
public class AccountUpdateRequest
{
///
/// The new email address of the user
///
[EmailAddress]
public string Email { get; set; }
///
/// The new username of the user.
///
[MinLength(4)]
public string Username { get; set; }
///
/// The picture icon.
///
public IFormFile Picture { get; set; }
}
}