2024-07-04 11:02:45 +05:00
|
|
|
using System;
|
2023-03-31 11:26:42 +05:00
|
|
|
using System.Collections.Generic;
|
2024-01-17 13:12:17 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-03-31 11:26:42 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudApp.Data.GTR;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Запись WITS
|
|
|
|
/// </summary>
|
|
|
|
public class WitsRecordDto
|
2023-03-31 11:26:42 +05:00
|
|
|
{
|
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
/// Id записи
|
2023-03-31 11:26:42 +05:00
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
[Required]
|
|
|
|
public int Id { get; set; }
|
2023-03-31 11:26:42 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Дата создания записи
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public DateTime Date { get; set; }
|
2023-03-31 11:26:42 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Параметры. Ключ - id_item. ValueContainer содержит значение.
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public Dictionary<int, JsonValue> Items { get; set; } = new();
|
2023-03-31 11:26:42 +05:00
|
|
|
}
|