2024-07-04 11:02:45 +05:00
|
|
|
using System;
|
2022-10-11 08:28:37 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Requests
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Параметры запроса для файлового сервиса
|
|
|
|
/// </summary>
|
2022-10-17 14:42:47 +05:00
|
|
|
public class FileRequest : RequestBase
|
2022-10-11 08:28:37 +05:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Идентификатор скважины
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
2022-10-17 14:42:47 +05:00
|
|
|
public int IdWell { get; set; }
|
2022-10-11 08:28:37 +05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Идентификатор категории файла
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public int? IdCategory { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Наименование компании
|
|
|
|
/// </summary>
|
2022-10-17 14:42:47 +05:00
|
|
|
public string? CompanyNamePart { get; set; }
|
2022-10-11 08:28:37 +05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Имя файла
|
|
|
|
/// </summary>
|
2022-10-17 14:42:47 +05:00
|
|
|
public string? FileNamePart { get; set; }
|
2022-10-11 08:28:37 +05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Дата начала периода
|
|
|
|
/// </summary>
|
2024-03-20 17:34:03 +05:00
|
|
|
public DateTimeOffset? Begin { get; set; }
|
2022-10-11 08:28:37 +05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Дата окончания периода
|
|
|
|
/// </summary>
|
2024-03-20 17:34:03 +05:00
|
|
|
public DateTimeOffset? End { get; set; }
|
2022-10-11 08:28:37 +05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Признак удаления
|
|
|
|
/// </summary>
|
|
|
|
public bool? IsDeleted { get; set; }
|
|
|
|
}
|
|
|
|
}
|