feat(dal,api): В таблицу истории роботов, добавлено поле RobotId. Обновлены методы в api для ведения истории роботов.

This commit is contained in:
Mikhail Trubnikov
2026-05-26 11:43:15 +10:00
parent 856b273e6b
commit 2024056871
8 changed files with 3878 additions and 9 deletions

View File

@@ -2,14 +2,19 @@
namespace PARR.API.Contracts.V1.Requests
{
public class RobotHistoryRequest
public record RobotHistoryRequest
{
public RobotHistoryLevelEnum HistoryLevel { get; set; }
public RobotHistoryLevelEnum HistoryLevel { get; init; }
public string? RobotMessage { get; set; }
public string? RobotMessage { get; init; }
public string? EsppMessage { get; set; }
public string? EsppMessage { get; init; }
public Guid TaskId { get; set; }
public Guid TaskId { get; init; }
/// <summary>
/// ИД робота
/// </summary>
public string? RobotId { get; init; }
}
}

View File

@@ -26,6 +26,8 @@
public string? RobotIp { get; set; }
public string? RobotId { get; set; }
public UserBaseResponse? User { get; set; }
}