Files
btcpayserver/BTCPayServer.Client/Models/StoreData.cs
2025-04-04 16:28:44 +09:00

31 lines
700 B
C#

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models
{
public class StoreData : StoreBaseData
{
/// <summary>
/// the id of the store
/// </summary>
public string Id { get; set; }
}
public class StoreUserData : ApplicationUserData
{
/// <summary>
/// the store role of the user
/// </summary>
public string StoreRole { get; set; }
}
public class RoleData
{
public string Id { get; set; }
public List<string> Permissions { get; set; }
public string Role { get; set; }
public bool IsServerRole { get; set; }
}
}