aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Book.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-05 22:39:44 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-05 22:39:44 -0500
commit5f0d8000a5ec26fd66c5f188f3bb517bb139b74b (patch)
tree769514a446fc33ba812d1a9a05a66f0845c9e590 /MediaBrowser.Controller/Entities/Book.cs
parentebe483db9a5d31528a644200a71f2b36ac2864bd (diff)
moved media streams to the database
Diffstat (limited to 'MediaBrowser.Controller/Entities/Book.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Book.cs15
1 files changed, 13 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/Book.cs b/MediaBrowser.Controller/Entities/Book.cs
index 20df731a7..87b90b824 100644
--- a/MediaBrowser.Controller/Entities/Book.cs
+++ b/MediaBrowser.Controller/Entities/Book.cs
@@ -1,7 +1,8 @@
-
+using System.Collections.Generic;
+
namespace MediaBrowser.Controller.Entities
{
- public class Book : BaseItem
+ public class Book : BaseItem, IHasTags
{
public override string MediaType
{
@@ -10,6 +11,11 @@ namespace MediaBrowser.Controller.Entities
return Model.Entities.MediaType.Book;
}
}
+ /// <summary>
+ /// Gets or sets the tags.
+ /// </summary>
+ /// <value>The tags.</value>
+ public List<string> Tags { get; set; }
public string SeriesName { get; set; }
@@ -31,5 +37,10 @@ namespace MediaBrowser.Controller.Entities
return !IsInMixedFolder;
}
}
+
+ public Book()
+ {
+ Tags = new List<string>();
+ }
}
}