Price reminder and init approval

* Start price reminder grain

* Add config and init grain at startup

* Save init wallet when already init
This commit is contained in:
Oda
2025-09-13 02:29:14 +07:00
committed by GitHub
parent da50b30344
commit 56b4f14eb3
69 changed files with 2373 additions and 701 deletions

View File

@@ -8,12 +8,13 @@ namespace Managing.Infrastructure.Databases.PostgreSql.Entities;
public class AccountEntity
{
[Key] public int Id { get; set; }
[Required] public string Name { get; set; }
[Required] public required string Name { get; set; }
[Required] public TradingExchanges Exchange { get; set; }
[Required] public AccountType Type { get; set; }
[Required] public string? Key { get; set; }
public string? Secret { get; set; }
[Required] public int UserId { get; set; }
[Required] public bool IsGmxInitialized { get; set; } = false;
// Navigation properties
public UserEntity? User { get; set; }