Refactoring Data entities to fit one standard convention

This commit is contained in:
rockstardev
2020-12-28 14:57:21 -06:00
parent 91cb9129ab
commit c9dc60be7b
28 changed files with 173 additions and 387 deletions

View File

@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Microsoft.EntityFrameworkCore;
namespace BTCPayServer.Data
{
@@ -10,11 +7,7 @@ namespace BTCPayServer.Data
{
[Key]
[MaxLength(25)]
public string Id
{
get;
set;
}
public string Id { get; set; }
[Required]
public byte[] Blob { get; set; }
public List<WebhookDeliveryData> Deliveries { get; set; }