2024-07-04 11:02:45 +05:00
|
|
|
using System;
|
2024-01-16 13:24:42 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2021-05-14 17:02:29 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Диапазон дат
|
|
|
|
/// </summary>
|
|
|
|
public class DatesRangeDto
|
2021-05-14 17:02:29 +05:00
|
|
|
{
|
2022-06-01 17:52:26 +05:00
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
/// Дата начала диапазона
|
2022-06-01 17:52:26 +05:00
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
[Required]
|
|
|
|
public DateTimeOffset From { get; set; }
|
2022-06-01 17:52:26 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Дата окончания диапазона
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public DateTimeOffset To { get; set; }
|
2021-05-14 17:02:29 +05:00
|
|
|
}
|