mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
23 lines
466 B
C#
23 lines
466 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace BTCPayServer.Data
|
|
{
|
|
public class WebhookData
|
|
{
|
|
[Key]
|
|
[MaxLength(25)]
|
|
public string Id
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
[Required]
|
|
public byte[] Blob { get; set; }
|
|
public List<WebhookDeliveryData> Deliveries { get; set; }
|
|
}
|
|
}
|