2022-08-08 16:45:20 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2024-03-20 12:43:15 +05:00
|
|
|
|
namespace AsbCloudApp.Data.WellOperation
|
2021-08-16 14:19:43 +05:00
|
|
|
|
{
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO категория операции
|
|
|
|
|
/// </summary>
|
2022-06-15 14:57:37 +05:00
|
|
|
|
public class WellOperationCategoryDto : IId
|
2021-08-16 14:19:43 +05:00
|
|
|
|
{
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <inheritdoc/>
|
2024-01-17 13:12:17 +05:00
|
|
|
|
[Required]
|
2021-08-16 14:19:43 +05:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// название
|
|
|
|
|
/// </summary>
|
2023-02-17 15:30:17 +05:00
|
|
|
|
[Required]
|
|
|
|
|
[StringLength(512)]
|
|
|
|
|
public string Name { get; set; } = null!;
|
2021-08-16 14:19:43 +05:00
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
2022-12-02 15:54:55 +05:00
|
|
|
|
/// Идентификатор родительской категории
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// </summary>
|
2022-12-02 15:54:55 +05:00
|
|
|
|
public int? IdParent { get; set; }
|
2022-08-08 16:45:20 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Название ключевого показателя операции
|
|
|
|
|
/// </summary>
|
|
|
|
|
[StringLength(32)]
|
2023-02-17 15:30:17 +05:00
|
|
|
|
public string? KeyValueName { get; set; }
|
2022-08-08 16:45:20 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Единицы измерения ключевого показателя операции
|
|
|
|
|
/// </summary>
|
|
|
|
|
[StringLength(16)]
|
2023-02-17 15:30:17 +05:00
|
|
|
|
public string? KeyValueUnits { get; set; }
|
2021-08-16 14:19:43 +05:00
|
|
|
|
}
|
|
|
|
|
}
|