// <copyright file="CreateUserByName.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace Jellyfin.Api.Models.UserDtos;

using System.ComponentModel.DataAnnotations;

/// <summary>
/// The create user by name request body.
/// </summary>
public class CreateUserByName
{
    /// <summary>
    /// Gets or sets the username.
    /// </summary>
    [Required]
    public required string Name { get; set; }

    /// <summary>
    /// Gets or sets the password.
    /// </summary>
    public string? Password { get; set; }
}
