Add webhook support for card transactions and notifications.
Some optimizations and fixes Signed-off-by: Dmitrii <computer@yawaflua.tech> Took 2 hours 4 minutes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SpMega.Backend.Persistent.Models.Transactions;
|
||||
|
||||
namespace SpMega.Backend.Persistent.Models.Users;
|
||||
@@ -5,8 +6,10 @@ namespace SpMega.Backend.Persistent.Models.Users;
|
||||
public class User
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string Token { get; set; }
|
||||
[MaxLength(2048)] public string Username { get; set; }
|
||||
[MaxLength(2048)] public string Token { get; set; }
|
||||
|
||||
[MaxLength(2048)] public string? ShortId { get; set; }
|
||||
|
||||
public List<Card> Cards { get; set; } = [];
|
||||
public List<Transaction> Transactions { get; set; } = [];
|
||||
|
||||
Reference in New Issue
Block a user