refactor: use default pairPeriod

This commit is contained in:
2024-06-10 22:03:48 +03:00
parent 984791f193
commit 2e389b252c
2 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,4 @@
using Mirea.Api.Dto.Common;
using System;
using System.Collections.Generic;
using System;
using System.ComponentModel.DataAnnotations;
namespace Mirea.Api.Dto.Requests.Configuration;
@ -20,10 +18,4 @@ public class ScheduleConfigurationRequest
/// </summary>
[Required]
public DateOnly StartTerm { get; set; }
/// <summary>
/// Gets or sets the pair period times, keyed by pair number.
/// </summary>
[Required]
public required IDictionary<int, PairPeriodTime> PairPeriod { get; set; }
}