mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-06 05:01:13 -07:00
28 lines
No EOL
776 B
C#
28 lines
No EOL
776 B
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Ombi.Core.Models.Requests
|
|
{
|
|
public class TvRequestViewModel
|
|
{
|
|
public bool RequestAll { get; set; }
|
|
public bool LatestSeason { get; set; }
|
|
public bool FirstSeason { get; set; }
|
|
public int TvDbId { get; set; }
|
|
public List<SeasonsViewModel> Seasons { get; set; } = new List<SeasonsViewModel>();
|
|
[JsonIgnore]
|
|
public string RequestedByAlias { get; set; }
|
|
}
|
|
|
|
public class SeasonsViewModel
|
|
{
|
|
public int SeasonNumber { get; set; }
|
|
public List<EpisodesViewModel> Episodes { get; set; } = new List<EpisodesViewModel>();
|
|
}
|
|
|
|
public class EpisodesViewModel
|
|
{
|
|
public int EpisodeNumber { get; set; }
|
|
}
|
|
|
|
} |