jellyfin-server/MediaBrowser.Model/Entities/User.cs

33 lines
744 B
C#
Raw Normal View History

2012-09-06 20:29:33 +00:00
using System;
namespace MediaBrowser.Model.Entities
{
public class User : BaseEntity
{
2012-09-06 18:38:29 +00:00
public string Password { get; set; }
public string MaxParentalRating { get; set; }
public int RecentItemDays { get; set; }
public User()
{
RecentItemDays = 14;
}
2012-09-06 20:29:33 +00:00
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
}
}