using Mirea.Api.Dto.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Mirea.Api.Dto.Requests.Configuration;
///
/// Represents a request to configure the schedule settings.
///
public class ScheduleConfigurationRequest
{
///
/// Gets or sets the cron expression for updating the schedule.
///
public string? CronUpdateSchedule { get; set; }
///
/// Gets or sets the start date of the term.
///
[Required]
public DateOnly StartTerm { get; set; }
///
/// Gets or sets the pair period times, keyed by pair number.
///
[Required]
public required IDictionary PairPeriod { get; set; }
}