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

43 lines
1.0 KiB
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 id of the user
/// </summary>
[Obsolete("Use Id instead")]
public string UserId { get; set; }
/// <summary>
/// the store role of the user
/// </summary>
public string StoreRole { get; set; }
/// <summary>
/// the store role of the user
/// </summary>
[Obsolete("Use StoreRole instead")]
public string Role { 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; }
}
}