Add backend structure with Docker support and initial configuration files
Java CI / build (push) Successful in 1m56s

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

Took 4 hours 25 minutes
This commit is contained in:
Dmitrii
2026-06-28 08:20:33 +03:00
parent 7862597f45
commit eee0d44c92
46 changed files with 3141 additions and 125 deletions
@@ -0,0 +1,19 @@
using System.Text.Json.Serialization;
using SpMega.Backend.Persistent.Models.Users;
namespace SpMega.Backend.Persistent.Models.Transactions;
public class Transaction
{
public Guid Id { get; set; }
public string ShortId { get; set; } = Program.GenerateRandomString(8);
public string ReceiverName { get; set; }
public string ReceiverCardNumber { get; set; }
[JsonIgnore] public User Sender { get; set; }
public string SenderCardNumber { get; set; }
public int Amount { get; set; } = 0;
public string Comment { get; set; } = "";
public DateTime TransactionDate { get; set; } = DateTime.UtcNow;
}