MireaBackend/ApiDto/Requests/Configuration/ScheduleConfigurationRequest.cs

21 lines
550 B
C#
Raw Normal View History

2024-06-10 22:03:48 +03:00
using System;
2024-05-29 03:46:16 +03:00
using System.ComponentModel.DataAnnotations;
namespace Mirea.Api.Dto.Requests.Configuration;
/// <summary>
/// Represents a request to configure the schedule settings.
/// </summary>
public class ScheduleConfigurationRequest
{
/// <summary>
/// Gets or sets the cron expression for updating the schedule.
/// </summary>
public string? CronUpdateSchedule { get; set; }
/// <summary>
/// Gets or sets the start date of the term.
/// </summary>
[Required]
public DateOnly StartTerm { get; set; }
}