2014-07-04 02:22:57 +00:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
using System;
|
|
|
|
|
|
2013-12-19 21:51:32 +00:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface IHasUserData
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IHasUserData
|
|
|
|
|
{
|
2014-07-04 02:22:57 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The identifier.</value>
|
|
|
|
|
Guid Id { get; set; }
|
|
|
|
|
|
2013-12-19 21:51:32 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the user data key.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>System.String.</returns>
|
|
|
|
|
string GetUserDataKey();
|
2014-07-04 02:22:57 +00: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 21:51:32 +00:00
|
|
|
|
}
|
|
|
|
|
}
|