using System;
using System.Collections.Generic;
namespace Jellyfin.Plugin.Request.Storage;
///
/// A user-submitted movie or TV request.
///
public sealed class MediaRequest
{
///
/// Gets or sets the request identifier.
///
public Guid Id { get; set; }
///
/// Gets or sets the media type (movie or tv).
///
public string MediaType { get; set; } = string.Empty;
///
/// Gets or sets the TMDB identifier. Zero for custom titles not found on TMDB.
///
public int TmdbId { get; set; }
///
/// Gets or sets a value indicating whether this was a custom (non-TMDB) request.
///
public bool IsCustom { get; set; }
///
/// Gets or sets the display title.
///
public string Title { get; set; } = string.Empty;
///
/// Gets or sets optional notes from the requester (useful for custom titles).
///
public string? Notes { get; set; }
///
/// Gets or sets the release year when known.
///
public int? Year { get; set; }
///
/// Gets or sets the TMDB poster path.
///
public string? PosterPath { get; set; }
///
/// Gets or sets season numbers for TV, or null / empty for all seasons.
///
public List? Seasons { get; set; }
///
/// Gets or sets a value indicating whether all seasons were requested.
///
public bool AllSeasons { get; set; }
///
/// Gets or sets the requesting user's identifier.
///
public Guid RequestedByUserId { get; set; }
///
/// Gets or sets the requesting user's display name.
///
public string RequestedByName { get; set; } = string.Empty;
///
/// Gets or sets the UTC creation timestamp.
///
public DateTime CreatedAtUtc { get; set; }
///
/// Gets or sets the request status.
///
public RequestStatus Status { get; set; }
///
/// Gets or sets an optional administrator note.
///
public string? AdminNote { get; set; }
}