using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Jellyfin.Plugin.Request.Api;
///
/// Body for creating a media request.
///
public sealed class CreateRequestDto
{
///
/// Gets or sets the media type (movie or tv).
///
[Required]
public string MediaType { get; set; } = string.Empty;
///
/// Gets or sets the TMDB identifier.
///
[Range(1, int.MaxValue)]
public int TmdbId { get; set; }
///
/// Gets or sets optional season numbers for TV.
/// Null or empty with true requests everything.
///
public List? Seasons { get; set; }
///
/// Gets or sets a value indicating whether all seasons are requested.
///
public bool AllSeasons { get; set; } = true;
}
///
/// Optional admin note body for status transitions.
///
public sealed class AdminNoteDto
{
///
/// Gets or sets an optional administrator note.
///
public string? AdminNote { get; set; }
}