mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
25 lines
484 B
C#
25 lines
484 B
C#
using System;
|
|
using ProtoBuf;
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
{
|
|
[ProtoContract]
|
|
public class UserItemData
|
|
{
|
|
[ProtoMember(1)]
|
|
public UserItemRating Rating { get; set; }
|
|
|
|
[ProtoMember(2)]
|
|
public long PlaybackPositionTicks { get; set; }
|
|
|
|
[ProtoMember(3)]
|
|
public int PlayCount { get; set; }
|
|
}
|
|
|
|
public enum UserItemRating
|
|
{
|
|
Likes,
|
|
Dislikes,
|
|
Favorite
|
|
}
|
|
}
|