2014-07-03 19:22:57 -07:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
using System;
|
|
|
|
|
|
2013-12-19 14:51:32 -07:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface IHasUserData
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IHasUserData
|
|
|
|
|
{
|
2014-07-03 19:22:57 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The identifier.</value>
|
|
|
|
|
Guid Id { get; set; }
|
|
|
|
|
|
2013-12-19 14:51:32 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the user data key.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>System.String.</returns>
|
|
|
|
|
string GetUserDataKey();
|
2014-07-03 19:22:57 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fills the user data dto values.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dto">The dto.</param>
|
|
|
|
|
/// <param name="userData">The user data.</param>
|
|
|
|
|
/// <param name="user">The user.</param>
|
|
|
|
|
void FillUserDataDtoValues(UserItemDataDto dto, UserItemData userData, User user);
|
2013-12-19 14:51:32 -07:00
|
|
|
|
}
|
|
|
|
|
}
|