DD.WellWorkover.Cloud/AsbCloudApp/Data/SAUB/DrillTestBaseDto.cs

37 lines
906 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
2024-08-19 10:01:07 +05:00
namespace AsbCloudApp.Data.SAUB;
/// <summary>
/// DTO для получения записи drill_test из панели
/// </summary>
public class DrillTestBaseDto
{
/// <summary>
2024-08-19 10:01:07 +05:00
/// Идентификатор drill test
/// </summary>
2024-08-19 10:01:07 +05:00
[Required]
public int Id { get; set; }
2024-08-19 10:01:07 +05:00
/// <summary>
/// Время начала drill test
/// </summary>
[Required]
public DateTimeOffset TimeStampStart { get; set; }
2024-08-19 10:01:07 +05:00
/// <summary>
/// Глубина начала drill test
/// </summary>
[Required]
public float DepthStart { get; set; }
2024-08-19 10:01:07 +05:00
/// <summary>
/// Параметры теста
/// </summary>
[Required]
public IEnumerable<DrillTestParamsDto> Params { get; set; } = Enumerable.Empty<DrillTestParamsDto>();
}