mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
43 lines
1.0 KiB
C#
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; }
|
|
}
|
|
}
|