2012-09-07 01:45:24 +00:00
|
|
|
|
using ProtoBuf;
|
|
|
|
|
using System;
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.DTO
|
|
|
|
|
{
|
|
|
|
|
[ProtoContract]
|
|
|
|
|
public class DTOUser
|
|
|
|
|
{
|
|
|
|
|
[ProtoMember(1)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[ProtoMember(2)]
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[ProtoMember(3)]
|
|
|
|
|
public bool HasImage { get; set; }
|
2012-09-06 18:38:29 +00:00
|
|
|
|
|
|
|
|
|
[ProtoMember(4)]
|
|
|
|
|
public bool HasPassword { get; set; }
|
2012-09-06 20:29:33 +00:00
|
|
|
|
|
|
|
|
|
[ProtoMember(5)]
|
|
|
|
|
public DateTime? LastLoginDate { get; set; }
|
|
|
|
|
|
|
|
|
|
[ProtoMember(6)]
|
|
|
|
|
public DateTime? LastActivityDate { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
}
|
|
|
|
|
}
|