forked from ddrilling/AsbCloudServer
37 lines
906 B
C#
37 lines
906 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
|
|
namespace AsbCloudApp.Data.SAUB;
|
|
|
|
/// <summary>
|
|
/// DTO для получения записи drill_test из панели
|
|
/// </summary>
|
|
public class DrillTestBaseDto
|
|
{
|
|
/// <summary>
|
|
/// Идентификатор drill test
|
|
/// </summary>
|
|
[Required]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Время начала drill test
|
|
/// </summary>
|
|
[Required]
|
|
public DateTimeOffset TimeStampStart { get; set; }
|
|
|
|
/// <summary>
|
|
/// Глубина начала drill test
|
|
/// </summary>
|
|
[Required]
|
|
public float DepthStart { get; set; }
|
|
|
|
/// <summary>
|
|
/// Параметры теста
|
|
/// </summary>
|
|
[Required]
|
|
public IEnumerable<DrillTestParamsDto> Params { get; set; } = Enumerable.Empty<DrillTestParamsDto>();
|
|
}
|