using Managing.Application.Abstractions.Services;
using Managing.Application.Workers.Abstractions;
using static Managing.Common.Enums;

namespace Managing.Api.Workers.Workers;

public class PricesOneDayWorker : PricesBaseWorker<PricesOneDayWorker>
{
    public PricesOneDayWorker(
        ILogger<PricesOneDayWorker> logger,
        IPricesService pricesService,
        IStatisticService statisticService,
        IWorkerService workerService) : base(
        logger,
        pricesService,
        workerService,
        statisticService,
        TimeSpan.FromHours(12),
        WorkerType.PriceOneDay,
        Timeframe.OneDay
    )
    {
    }
}