mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Finished adding subscriptions for TV Shows
This commit is contained in:
parent
7a9fc1213f
commit
16952cb44c
11 changed files with 95 additions and 29 deletions
|
@ -13,6 +13,15 @@ namespace Ombi.Store.Entities.Requests
|
|||
public int? IssueId { get; set; }
|
||||
public SeriesType SeriesType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This is to see if the user is subscribed in the UI
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
public bool Subscribed { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public bool ShowSubscribe { get; set; }
|
||||
|
||||
|
||||
[ForeignKey(nameof(IssueId))]
|
||||
public List<Issues> Issues { get; set; }
|
||||
|
|
|
@ -14,6 +14,8 @@ namespace Ombi.Store.Entities.Requests
|
|||
|
||||
[NotMapped]
|
||||
public bool Subscribed { get; set; }
|
||||
[NotMapped]
|
||||
public bool ShowSubscribe { get; set; }
|
||||
|
||||
public int RootPathOverride { get; set; }
|
||||
public int QualityOverride { get; set; }
|
||||
|
|
|
@ -17,11 +17,6 @@ namespace Ombi.Store.Entities.Requests
|
|||
public DateTime ReleaseDate { get; set; }
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This is to see if the user is subscribed in the UI
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
public bool Subscribed { get; set; }
|
||||
/// <summary>
|
||||
/// This is so we can correctly send the right amount of seasons to Sonarr
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue