DD.WellWorkover.Cloud/AsbCloudApp/Data/GTR/WitsRecordDto.cs

30 lines
744 B
C#
Raw Normal View History

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