2024-06-26 10:42:22 +02:00
|
|
|
using System;
|
2024-07-11 21:43:30 +09:00
|
|
|
using System.Collections.Generic;
|
2024-06-26 10:42:22 +02:00
|
|
|
using Newtonsoft.Json;
|
2024-07-11 21:43:30 +09:00
|
|
|
using Newtonsoft.Json.Linq;
|
2024-06-26 10:42:22 +02:00
|
|
|
|
|
|
|
namespace BTCPayServer.Client.Models;
|
|
|
|
|
|
|
|
public class AppBaseData
|
|
|
|
{
|
|
|
|
public string Id { get; set; }
|
|
|
|
public string AppType { get; set; }
|
|
|
|
public string AppName { get; set; }
|
|
|
|
public string StoreId { get; set; }
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
|
|
public bool? Archived { get; set; }
|
|
|
|
[JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))]
|
|
|
|
public DateTimeOffset Created { get; set; }
|
2024-07-11 21:43:30 +09:00
|
|
|
[JsonExtensionData]
|
|
|
|
public IDictionary<string, JToken> AdditionalData { get; set; } = new Dictionary<string, JToken>();
|
2024-06-26 10:42:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public interface IAppRequest
|
|
|
|
{
|
|
|
|
public string AppName { get; set; }
|
|
|
|
}
|