2012-09-06 20:29:33 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
2012-08-18 08:22:54 +00:00
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
|
|
|
{
|
|
|
|
|
public class User : BaseEntity
|
|
|
|
|
{
|
2012-09-06 18:38:29 +00:00
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
|
2012-08-18 08:22:54 +00:00
|
|
|
|
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; }
|
2012-09-09 19:00:19 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This allows the user to configure how they want to rate items
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ItemRatingMode ItemRatingMode { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum ItemRatingMode
|
|
|
|
|
{
|
|
|
|
|
LikeOrDislike,
|
|
|
|
|
Numeric
|
2012-08-18 08:22:54 +00:00
|
|
|
|
}
|
|
|
|
|
}
|