btcpayserver/BTCPayApp.CommonServer/AppUserInfo.cs

21 lines
539 B
C#
Raw Normal View History

2024-02-20 11:47:03 +01:00
using System.Collections.Generic;
2024-04-09 20:45:21 +02:00
namespace BTCPayApp.CommonServer;
2024-02-20 11:47:03 +01:00
2024-04-09 20:45:21 +02:00
public class AppUserInfo
2024-02-20 11:47:03 +01:00
{
2024-04-15 22:24:07 +02:00
public string? UserId { get; set; }
public string? Email { get; set; }
public IEnumerable<string>? Roles { get; set; }
public IEnumerable<AppUserStoreInfo>? Stores { get; set; }
2024-02-20 11:47:03 +01:00
}
public class AppUserStoreInfo
{
2024-04-15 22:24:07 +02:00
public string? Id { get; set; }
public string? Name { get; set; }
public string? RoleId { get; set; }
2024-02-20 11:47:03 +01:00
public bool Archived { get; set; }
2024-04-15 22:24:07 +02:00
public IEnumerable<string>? Permissions { get; set; }
2024-02-20 11:47:03 +01:00
}