mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
28 lines
586 B
C#
28 lines
586 B
C#
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; }
|
|
}
|
|
}
|