2012-08-18 10:22:54 +02:00
|
|
|
|
using System;
|
2012-08-29 14:21:56 +02:00
|
|
|
|
using ProtoBuf;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
2012-08-18 10:22:54 +02:00
|
|
|
|
namespace MediaBrowser.Model.Entities
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
2012-08-29 14:21:56 +02:00
|
|
|
|
[ProtoContract]
|
2012-07-12 08:55:27 +02:00
|
|
|
|
public class UserItemData
|
|
|
|
|
{
|
2012-08-29 14:21:56 +02:00
|
|
|
|
[ProtoMember(1)]
|
2012-07-12 08:55:27 +02:00
|
|
|
|
public UserItemRating Rating { get; set; }
|
|
|
|
|
|
2012-08-29 14:21:56 +02:00
|
|
|
|
[ProtoMember(2)]
|
2012-08-18 10:22:54 +02:00
|
|
|
|
public long PlaybackPositionTicks { get; set; }
|
2012-07-16 18:50:44 +02:00
|
|
|
|
|
2012-08-29 14:21:56 +02:00
|
|
|
|
[ProtoMember(3)]
|
2012-07-16 18:50:44 +02:00
|
|
|
|
public int PlayCount { get; set; }
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum UserItemRating
|
|
|
|
|
{
|
|
|
|
|
Likes,
|
|
|
|
|
Dislikes,
|
|
|
|
|
Favorite
|
|
|
|
|
}
|
|
|
|
|
}
|