Files
SPMega/backend/SpMega.Backend/Persistent/Models/Users/Card.cs
T
Dmitrii d065c6897e
Java CI / build (push) Successful in 1m11s
.NET+Docker CI/CD / Unit and Integration tests (push) Successful in 36s
.NET+Docker CI/CD / Push Docker image to ghcr.io (push) Failing after 33s
Add balance handling to card transactions and user accounts
Signed-off-by: Dmitrii <computer@yawaflua.tech>

Took 6 minutes
2026-07-06 03:53:31 +03:00

19 lines
518 B
C#

using Microsoft.EntityFrameworkCore;
namespace SpMega.Backend.Persistent.Models.Users;
[Owned]
public class Card
{
public Guid Id { get; set; }
public string Name { get; set; }
public string SpworldsID { get; set; }
public string Token { get; set; }
public int Balance { get; set; } = 0;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; }
public DateTime? DeletedAt { get; set; }
public bool IsDeleted { get; set; } = false;
}