using System.ComponentModel;
using ProtoBuf;
namespace MediaBrowser.Model.Dto
{
///
/// Class UserItemDataDto
///
[ProtoContract]
public class UserItemDataDto : INotifyPropertyChanged
{
///
/// Gets or sets the rating.
///
/// The rating.
[ProtoMember(1)]
public float? Rating { get; set; }
///
/// Gets or sets the playback position ticks.
///
/// The playback position ticks.
[ProtoMember(2)]
public long PlaybackPositionTicks { get; set; }
///
/// Gets or sets the play count.
///
/// The play count.
[ProtoMember(3)]
public int PlayCount { get; set; }
///
/// Gets or sets a value indicating whether this instance is favorite.
///
/// true if this instance is favorite; otherwise, false.
[ProtoMember(4)]
public bool IsFavorite { get; set; }
///
/// Gets or sets a value indicating whether this is likes.
///
/// null if [likes] contains no value, true if [likes]; otherwise, false.
[ProtoMember(5)]
public bool? Likes { get; set; }
///
/// Gets or sets a value indicating whether this is played.
///
/// true if played; otherwise, false.
[ProtoMember(6)]
public bool Played { get; set; }
public event PropertyChangedEventHandler PropertyChanged;
}
}