docker files fixes from liaqat
This commit is contained in:
19
src/Managing.Domain/Accounts/Account.cs
Normal file
19
src/Managing.Domain/Accounts/Account.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Managing.Domain.Users;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using static Managing.Common.Enums;
|
||||
|
||||
namespace Managing.Domain.Accounts;
|
||||
|
||||
public class Account
|
||||
{
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
[Required]
|
||||
public TradingExchanges Exchange { get; set; }
|
||||
[Required]
|
||||
public AccountType Type { get; set; }
|
||||
public string Key { get; set; }
|
||||
public string Secret { get; set; }
|
||||
public User User { get; set; }
|
||||
public List<Balance> Balances { get; set; }
|
||||
}
|
||||
14
src/Managing.Domain/Accounts/Balance.cs
Normal file
14
src/Managing.Domain/Accounts/Balance.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Managing.Domain.Evm;
|
||||
|
||||
namespace Managing.Domain.Accounts;
|
||||
|
||||
public class Balance
|
||||
{
|
||||
public string TokenImage { get; set; }
|
||||
public string TokenName { get; set; }
|
||||
public decimal Amount { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
public decimal Value { get; set; }
|
||||
public string TokenAdress { get; set; }
|
||||
public Chain Chain { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user