feat(api,core,domain): Изменен контроллер RobotTaskRobotStatusController, метод изменения статуса задания вынесен в сервисы. Добавлена логика успрешного переименования шаблона.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using PARR.Domain.DTOs.Shared;
|
||||
|
||||
namespace PARR.Domain.DTOs.RobotTaskRobotStatus
|
||||
{
|
||||
public record RobotConfigurationResult
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
|
||||
public DateTimeOffset DateCreated { get; init; }
|
||||
|
||||
public Guid TemplateId { get; init; }
|
||||
|
||||
public RobotDto? Robot { get; init; }
|
||||
|
||||
public RobotTaskStatusDto? TaskStatus { get; init; }
|
||||
|
||||
public RobotStatusDto? RobotStatus { get; init; }
|
||||
|
||||
public int AttemptsNumber { get; init; }
|
||||
|
||||
public DateTimeOffset? LastRobotStatusUpdated { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user