Files
SPMega/backend/SpMega.Backend/Persistent/Models/Transactions/Notification.cs
T
Dmitrii f19a5d3586
Java CI / build (push) Successful in 50s
.NET+Docker CI/CD / Unit and Integration tests (push) Successful in 33s
.NET+Docker CI/CD / Push Docker image to ghcr.io (push) Failing after 30s
Add webhook support for card transactions and notifications.
Some optimizations and fixes

Signed-off-by: Dmitrii <computer@yawaflua.tech>

Took 2 hours 4 minutes
2026-07-12 06:27:28 +03:00

21 lines
683 B
C#

using SpMega.Backend.Persistent.Models.Users;
namespace SpMega.Backend.Persistent.Models.Transactions;
public class Notification
{
public Guid Id { get; set; }
public Guid ReceiverId { get; set; }
public string ReceiverName { get; set; }
public string ReceiverNumber { get; set; }
public string SenderName { get; set; }
public string SenderNumber { get; set; }
public string Comment { get; set; }
public int Amount { get; set; }
public string Type { get; set; }
public bool IsRead { get; set; } = false;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}