2023-05-26 16:49:32 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2020-03-24 16:18:43 +01:00
|
|
|
namespace BTCPayServer.Client.Models
|
|
|
|
{
|
2020-04-30 16:44:27 +02:00
|
|
|
public class StoreData : StoreBaseData
|
2020-03-24 16:18:43 +01:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// the id of the store
|
|
|
|
/// </summary>
|
|
|
|
public string Id { get; set; }
|
|
|
|
}
|
2023-01-06 14:18:07 +01:00
|
|
|
|
2022-02-10 06:51:10 +01:00
|
|
|
public class StoreUserData
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// the id of the user
|
|
|
|
/// </summary>
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
|
|
public string Role { get; set; }
|
|
|
|
}
|
2023-05-26 16:49:32 +02:00
|
|
|
|
|
|
|
public class RoleData
|
|
|
|
{
|
|
|
|
public string Id { get; set; }
|
|
|
|
public List<string> Permissions { get; set; }
|
|
|
|
public string Role { get; set; }
|
|
|
|
public bool IsServerRole { get; set; }
|
|
|
|
}
|
2020-03-24 16:18:43 +01:00
|
|
|
}
|