2021-04-23 10:21:25 +05:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Data
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сообщение для frontend
|
|
|
|
|
/// </summary>
|
2021-09-09 12:31:12 +05:00
|
|
|
|
public class MessageDto : IId
|
2021-04-23 10:21:25 +05:00
|
|
|
|
{
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <inheritdoc/>
|
2021-04-23 10:21:25 +05:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// дата появления события
|
|
|
|
|
/// </summary>
|
2021-04-23 10:21:25 +05:00
|
|
|
|
public DateTime Date { get; set; }
|
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// категория события
|
|
|
|
|
/// </summary>
|
2021-04-23 10:21:25 +05:00
|
|
|
|
public int CategoryId { get; set; }
|
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// глубина забоя, при котором событие возникло
|
|
|
|
|
/// </summary>
|
2021-09-24 11:17:31 +05:00
|
|
|
|
public double WellDepth { get; set; }
|
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// пользователь панели оператора
|
|
|
|
|
/// </summary>
|
2021-04-23 10:21:25 +05:00
|
|
|
|
public string User { get; set; }
|
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// текст сообщения
|
|
|
|
|
/// </summary>
|
2021-04-23 10:21:25 +05:00
|
|
|
|
public string Message { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|