Ombi/src/Ombi.Core/Models/UI/UserViewModel.cs
2018-09-05 00:12:19 +01:00

28 lines
No EOL
927 B
C#

using System;
using System.Collections.Generic;
namespace Ombi.Core.Models.UI
{
public class UserViewModel
{
public string Id { get; set; }
public string UserName { get; set; }
public string Alias { get; set; }
public List<ClaimCheckboxes> Claims { get; set; }
public string EmailAddress { get; set; }
public string Password { get; set; }
public DateTime? LastLoggedIn { get; set; }
public bool HasLoggedIn { get; set; }
public UserType UserType { get; set; }
public int MovieRequestLimit { get; set; }
public int EpisodeRequestLimit { get; set; }
public RequestQuotaCountModel EpisodeRequestQuota { get; set; }
public RequestQuotaCountModel MovieRequestQuota { get; set; }
}
public class ClaimCheckboxes
{
public string Value { get; set; }
public bool Enabled { get; set; }
}
}