persistence/DD.Persistence/Models/TimestampedValuesDto.cs

20 lines
497 B
C#
Raw Normal View History

using DD.Persistence.ModelsAbstractions;
namespace DD.Persistence.Models;
2024-11-22 17:52:15 +05:00
/// <summary>
2025-01-13 17:45:49 +05:00
/// Набор данных с отметкой времени
2024-11-22 17:52:15 +05:00
/// </summary>
public class TimestampedValuesDto : ITimestampAbstractDto
2025-01-13 17:45:49 +05:00
{
/// <summary>
/// Временная отметка
/// </summary>
public DateTimeOffset Timestamp { get; set; }
/// <summary>
/// Набор данных
/// </summary>
2025-01-17 17:21:54 +05:00
public Dictionary<string, object> Values { get; set; } = [];
2025-01-13 17:45:49 +05:00
}