aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/UserItemData.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-18 04:22:54 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-18 04:22:54 -0400
commit7835d690a1ade4739171036cff335c86b5232d0e (patch)
tree0704c6bd3bf3adf3c23c67951397674ac87b5636 /MediaBrowser.Model/Entities/UserItemData.cs
parentf32f000298114231f114f41b7c7c4534a0300de2 (diff)
Added a completely separate DTOBaseItem to remove the ApiBaseItemWrapper mess and shrink json output size.
Diffstat (limited to 'MediaBrowser.Model/Entities/UserItemData.cs')
-rw-r--r--MediaBrowser.Model/Entities/UserItemData.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/UserItemData.cs b/MediaBrowser.Model/Entities/UserItemData.cs
new file mode 100644
index 000000000..817cf640e
--- /dev/null
+++ b/MediaBrowser.Model/Entities/UserItemData.cs
@@ -0,0 +1,20 @@
+using System;
+
+namespace MediaBrowser.Model.Entities
+{
+ public class UserItemData
+ {
+ public UserItemRating Rating { get; set; }
+
+ public long PlaybackPositionTicks { get; set; }
+
+ public int PlayCount { get; set; }
+ }
+
+ public enum UserItemRating
+ {
+ Likes,
+ Dislikes,
+ Favorite
+ }
+}