DD.WellWorkover.Cloud/AsbCloudApp/Data/DatesRangeDto.cs

23 lines
474 B
C#
Raw Permalink Normal View History

using System;
using System.ComponentModel.DataAnnotations;
2024-08-19 10:01:07 +05:00
namespace AsbCloudApp.Data;
/// <summary>
/// Диапазон дат
/// </summary>
public class DatesRangeDto
{
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; }
}