mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
Added a completely separate DTOBaseItem to remove the ApiBaseItemWrapper mess and shrink json output size.
This commit is contained in:
parent
f32f000298
commit
7835d690a1
20
MediaBrowser.Model/Entities/UserItemData.cs
Normal file
20
MediaBrowser.Model/Entities/UserItemData.cs
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user