Add agentbalance
This commit is contained in:
@@ -193,7 +193,8 @@ public class AgentSummaryRepository : IAgentSummaryRepository
|
||||
CreatedAt = domain.CreatedAt,
|
||||
UpdatedAt = domain.UpdatedAt,
|
||||
ActiveStrategiesCount = domain.ActiveStrategiesCount,
|
||||
TotalVolume = domain.TotalVolume
|
||||
TotalVolume = domain.TotalVolume,
|
||||
TotalBalance = domain.TotalBalance
|
||||
};
|
||||
}
|
||||
|
||||
@@ -208,6 +209,7 @@ public class AgentSummaryRepository : IAgentSummaryRepository
|
||||
entity.Runtime = domain.Runtime;
|
||||
entity.ActiveStrategiesCount = domain.ActiveStrategiesCount;
|
||||
entity.TotalVolume = domain.TotalVolume;
|
||||
entity.TotalBalance = domain.TotalBalance;
|
||||
}
|
||||
|
||||
private static AgentSummary MapToDomain(AgentSummaryEntity entity)
|
||||
@@ -226,6 +228,7 @@ public class AgentSummaryRepository : IAgentSummaryRepository
|
||||
UpdatedAt = entity.UpdatedAt,
|
||||
ActiveStrategiesCount = entity.ActiveStrategiesCount,
|
||||
TotalVolume = entity.TotalVolume,
|
||||
TotalBalance = entity.TotalBalance,
|
||||
User = PostgreSqlMappers.Map(entity.User)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user