mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
23 lines
711 B
C#
23 lines
711 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BTCPayServer.Models.ServerViewModels
|
|
{
|
|
public class UsersViewModel : BasePagingViewModel
|
|
{
|
|
public class UserViewModel
|
|
{
|
|
public string Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Email { get; set; }
|
|
public bool Verified { get; set; }
|
|
public bool IsAdmin { get; set; }
|
|
public DateTimeOffset? Created { get; set; }
|
|
public IEnumerable<string> Roles { get; set; }
|
|
}
|
|
public List<UserViewModel> Users { get; set; } = new List<UserViewModel>();
|
|
public Dictionary<string, string> Roles { get; set; }
|
|
}
|
|
|
|
}
|