diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-07-05 02:01:31 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-07-05 02:01:31 -0400 |
| commit | 1fcbd3c6da5bd061473a3f34a6410c9bbce0fc13 (patch) | |
| tree | 2d27570ad71afa59d0f89bdfaeafa0ca06512929 /MediaBrowser.Controller/Entities/Book.cs | |
| parent | 2772d595596b3e682dbce890e53bdc3ef027df46 (diff) | |
denormalize seriesid
Diffstat (limited to 'MediaBrowser.Controller/Entities/Book.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Book.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Book.cs b/MediaBrowser.Controller/Entities/Book.cs index 76f54edea..34368d61f 100644 --- a/MediaBrowser.Controller/Entities/Book.cs +++ b/MediaBrowser.Controller/Entities/Book.cs @@ -1,4 +1,5 @@ -using MediaBrowser.Controller.Providers; +using System; +using MediaBrowser.Controller.Providers; using MediaBrowser.Model.Configuration; using System.Linq; using System.Runtime.Serialization; @@ -19,12 +20,18 @@ namespace MediaBrowser.Controller.Entities [IgnoreDataMember] public string SeriesName { get; set; } + public Guid? SeriesId { get; set; } public string FindSeriesName() { return SeriesName; } + public Guid? FindSeriesId() + { + return SeriesId; + } + public override bool CanDownload() { var locationType = LocationType; |
