Files
managing-apps/src/Managing.Application/ManageBot/Commands/GetTopBotsByPnLCommand.cs
2025-09-25 11:08:28 +07:00

19 lines
472 B
C#

using Managing.Domain.Bots;
using MediatR;
using static Managing.Common.Enums;
namespace Managing.Application.ManageBot.Commands
{
public class GetTopBotsByPnLCommand : IRequest<IEnumerable<Bot>>
{
public IEnumerable<BotStatus> Statuses { get; }
public int Count { get; }
public GetTopBotsByPnLCommand(IEnumerable<BotStatus> statuses, int count = 3)
{
Statuses = statuses;
Count = count;
}
}
}