jellyfin-server/MediaBrowser.Model/DTO/DTOUser.cs
2012-09-09 15:06:56 -04:00

29 lines
622 B
C#

using MediaBrowser.Model.Entities;
using ProtoBuf;
using System;
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; }
[ProtoMember(4)]
public bool HasPassword { get; set; }
[ProtoMember(5)]
public DateTime? LastLoginDate { get; set; }
[ProtoMember(6)]
public DateTime? LastActivityDate { get; set; }
}
}