2024-07-04 11:02:45 +05:00
|
|
|
using System;
|
2023-10-02 17:53:34 +05:00
|
|
|
|
|
|
|
namespace AsbCloudApp.Requests
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Параметры фильтра операции
|
|
|
|
/// </summary>
|
2023-10-04 09:15:28 +05:00
|
|
|
public class OperationStatRequest
|
2023-10-02 17:53:34 +05:00
|
|
|
{
|
2024-01-22 17:22:11 +05:00
|
|
|
//TODO: использовать DateOnly. Поправить naming
|
2023-10-02 17:53:34 +05:00
|
|
|
/// <summary>
|
2023-10-03 15:32:58 +05:00
|
|
|
/// Дата начала операции в UTC
|
2023-10-02 17:53:34 +05:00
|
|
|
/// </summary>
|
2023-10-03 15:32:58 +05:00
|
|
|
public DateTime? DateStartUTC { get; set; }
|
2023-10-02 17:53:34 +05:00
|
|
|
|
2024-01-22 17:22:11 +05:00
|
|
|
//TODO: использовать DateOnly. Поправить naming
|
2023-10-02 17:53:34 +05:00
|
|
|
/// <summary>
|
2023-10-03 15:32:58 +05:00
|
|
|
/// Дата окончания операции в UTC
|
2023-10-02 17:53:34 +05:00
|
|
|
/// </summary>
|
2023-10-03 15:32:58 +05:00
|
|
|
public DateTime? DateEndUTC { get; set; }
|
2023-10-02 17:53:34 +05:00
|
|
|
|
2024-01-22 17:22:11 +05:00
|
|
|
//TODO: поправить naming
|
2023-10-02 17:53:34 +05:00
|
|
|
/// <summary>
|
2023-10-03 09:09:22 +05:00
|
|
|
/// Минимальная продолжительность операции, мин
|
2023-10-02 17:53:34 +05:00
|
|
|
/// </summary>
|
2023-10-04 09:15:28 +05:00
|
|
|
public double? DurationMinutesMin { get; set; }
|
2023-10-02 17:53:34 +05:00
|
|
|
|
2024-01-22 17:22:11 +05:00
|
|
|
//TODO: поправить naming
|
2023-10-02 17:53:34 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Максимальная продолжительность операции, мин
|
|
|
|
/// </summary>
|
2023-10-04 09:15:28 +05:00
|
|
|
public double? DurationMinutesMax { get; set; }
|
2023-10-02 17:53:34 +05:00
|
|
|
}
|
|
|
|
}
|