using MediatR;

namespace MiningService.API.Application.Commands;

/// <summary>
/// EN: Command to start a mining session.
/// VI: Command để bắt đầu phiên đào.
/// </summary>
public record StartMiningCommand(Guid UserId) : IRequest<StartMiningResult>;

public record StartMiningResult(
    Guid SessionId,
    decimal HourlyRate,
    DateTime EndTime,
    int StreakDays);
