2024-07-04 11:02:45 +05:00
|
|
|
using System;
|
2023-10-06 15:19:02 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Параметры секции определяемые по операциям из ГГД
|
|
|
|
/// </summary>
|
|
|
|
public class SectionByOperationsDto
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Id скважины
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-10-06 15:19:02 +05:00
|
|
|
public int IdWell { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 0 = план или 1 = факт или прогноз = 2
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-10-06 15:19:02 +05:00
|
|
|
public int IdType { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// id секции скважины
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-10-06 15:19:02 +05:00
|
|
|
public int IdWellSectionType { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Глубина начала первой операции в секции, м
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-10-06 15:19:02 +05:00
|
|
|
[Range(0, 50_000)]
|
|
|
|
public double DepthStart { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Дата начала первой операции в секции
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-10-06 15:19:02 +05:00
|
|
|
public DateTimeOffset DateStart { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2023-12-05 14:48:56 +05:00
|
|
|
/// Глубина после завершения последней операции в секции, м
|
2023-10-06 15:19:02 +05:00
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-10-06 15:19:02 +05:00
|
|
|
[Range(0, 50_000)]
|
|
|
|
public double DepthEnd { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2023-12-05 14:48:56 +05:00
|
|
|
/// Дата после завершения последней операции в секции
|
2023-10-06 15:19:02 +05:00
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-10-06 15:19:02 +05:00
|
|
|
public DateTimeOffset DateEnd { get; set; }
|
2023-12-05 14:48:56 +05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Название
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
[Required]
|
2023-12-05 14:48:56 +05:00
|
|
|
public string Caption { get; set; } = string.Empty;
|
2023-10-06 15:19:02 +05:00
|
|
|
}
|