btcpayserver/BTCPayServer/Models/ServerViewModels/UsersViewModel.cs

23 lines
711 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
namespace BTCPayServer.Models.ServerViewModels
{
2021-12-31 08:59:02 +01:00
public class UsersViewModel : BasePagingViewModel
{
public class UserViewModel
{
2017-12-04 06:39:02 +01:00
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; }
2021-11-15 10:27:19 +01:00
public IEnumerable<string> Roles { get; set; }
}
public List<UserViewModel> Users { get; set; } = new List<UserViewModel>();
2021-11-15 10:27:19 +01:00
public Dictionary<string, string> Roles { get; set; }
}
}