mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
54 lines
977 B
C#
54 lines
977 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace BTCPayServer.Data
|
|
{
|
|
public class PairingCodeData
|
|
{
|
|
public string Id
|
|
{
|
|
get; set;
|
|
}
|
|
[Obsolete("Unused")]
|
|
public string Facade
|
|
{
|
|
get; set;
|
|
}
|
|
public string StoreDataId
|
|
{
|
|
get; set;
|
|
}
|
|
public DateTimeOffset Expiration
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string Label
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public string SIN
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public DateTime DateCreated
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public string TokenValue
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
internal static void OnModelCreating(ModelBuilder builder)
|
|
{
|
|
builder.Entity<PairingCodeData>()
|
|
.HasKey(o => o.Id);
|
|
}
|
|
}
|
|
}
|