21 lines
550 B
C#
21 lines
550 B
C#
using System;
|
|
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; }
|
|
} |