jellyfin-server/MediaBrowser.Model/Entities/User.cs
LukePulverenti Luke Pulverenti luke pulverenti 2441ba0c6d Added api methods to set user ratings for items
2012-09-09 15:00:19 -04:00

33 lines
744 B
C#

using System;
namespace MediaBrowser.Model.Entities
{
public class User : BaseEntity
{
public string Password { get; set; }
public string MaxParentalRating { get; set; }
public int RecentItemDays { get; set; }
public User()
{
RecentItemDays = 14;
}
public DateTime? LastLoginDate { get; set; }
public DateTime? LastActivityDate { get; set; }
/// <summary>
/// This allows the user to configure how they want to rate items
/// </summary>
public ItemRatingMode ItemRatingMode { get; set; }
}
public enum ItemRatingMode
{
LikeOrDislike,
Numeric
}
}