2020-06-28 21:44:35 -05:00
|
|
|
using System;
|
2019-08-30 00:24:42 +09:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2020-05-23 21:13:18 +02:00
|
|
|
using BTCPayServer.Client.Models;
|
2019-08-30 00:24:42 +09:00
|
|
|
|
|
|
|
namespace BTCPayServer.Data
|
|
|
|
{
|
2020-04-30 16:43:16 +02:00
|
|
|
|
2019-08-30 00:24:42 +09:00
|
|
|
public class StoreData
|
|
|
|
{
|
2020-04-30 16:43:16 +02:00
|
|
|
public string Id { get; set; }
|
|
|
|
public List<UserStore> UserStores { get; set; }
|
|
|
|
|
|
|
|
public List<AppData> Apps { get; set; }
|
|
|
|
|
|
|
|
public List<PaymentRequestData> PaymentRequests { get; set; }
|
2019-08-30 00:24:42 +09:00
|
|
|
|
2020-06-24 10:34:09 +09:00
|
|
|
public List<PullPaymentData> PullPayments { get; set; }
|
|
|
|
|
2019-08-30 00:24:42 +09:00
|
|
|
public List<InvoiceData> Invoices { get; set; }
|
|
|
|
|
|
|
|
[Obsolete("Use GetDerivationStrategies instead")]
|
2020-04-30 16:43:16 +02:00
|
|
|
public string DerivationStrategy { get; set; }
|
2019-08-30 00:24:42 +09:00
|
|
|
|
|
|
|
[Obsolete("Use GetDerivationStrategies instead")]
|
2020-04-30 16:43:16 +02:00
|
|
|
public string DerivationStrategies { get; set; }
|
|
|
|
|
|
|
|
public string StoreName { get; set; }
|
|
|
|
|
|
|
|
public SpeedPolicy SpeedPolicy { get; set; } = SpeedPolicy.MediumSpeed;
|
|
|
|
|
|
|
|
public string StoreWebsite { get; set; }
|
|
|
|
|
|
|
|
public byte[] StoreCertificate { get; set; }
|
|
|
|
|
|
|
|
[NotMapped] public string Role { get; set; }
|
|
|
|
|
|
|
|
public byte[] StoreBlob { get; set; }
|
|
|
|
|
2019-08-30 00:24:42 +09:00
|
|
|
[Obsolete("Use GetDefaultPaymentId instead")]
|
|
|
|
public string DefaultCrypto { get; set; }
|
2020-04-30 16:43:16 +02:00
|
|
|
|
2019-08-30 00:24:42 +09:00
|
|
|
public List<PairedSINData> PairedSINs { get; set; }
|
|
|
|
public IEnumerable<APIKeyData> APIKeys { get; set; }
|
|
|
|
}
|
|
|
|
|
2020-05-23 21:13:18 +02:00
|
|
|
|
2019-08-30 00:24:42 +09:00
|
|
|
}
|