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