Add Webhooks in store's settings

This commit is contained in:
nicolas.dorier
2020-11-06 20:42:26 +09:00
parent cc6fe24e82
commit f3611ac693
38 changed files with 1756 additions and 28 deletions

View File

@@ -0,0 +1,22 @@
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; }
}
}