mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
The move!
This commit is contained in:
parent
1daf480b1b
commit
25526cc4d9
1147 changed files with 85 additions and 8524 deletions
34
src/Ombi.Core/Models/Requests/Tv/TvRequestModel.cs
Normal file
34
src/Ombi.Core/Models/Requests/Tv/TvRequestModel.cs
Normal file
|
@ -0,0 +1,34 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Ombi.Core.Models.Requests
|
||||
{
|
||||
public class TvRequestModel : BaseRequestModel
|
||||
{
|
||||
public TvRequestModel()
|
||||
{
|
||||
SeasonRequests = new List<SeasonRequestModel>();
|
||||
ChildRequests = new List<TvRequestModel>();
|
||||
}
|
||||
|
||||
public string ImdbId { get; set; }
|
||||
public string TvDbId { get; set; }
|
||||
public bool RequestAll { get; set; }
|
||||
public List<SeasonRequestModel> SeasonRequests { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This is for TV requests, If there is more than 1 request for a show then it should be a child
|
||||
/// e.g. Request 1 is for Season 1, Request 2 is for season 5. There should be two child items.
|
||||
/// </summary>
|
||||
public List<TvRequestModel> ChildRequests { get; set; }
|
||||
|
||||
public bool HasChildRequests => ChildRequests.Count > 0;
|
||||
|
||||
/// <summary>
|
||||
/// For TV Shows with a custom root folder
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The root folder selected.
|
||||
/// </value>
|
||||
public int RootFolderSelected { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue