feat(api): Просмотр истории роботов

This commit is contained in:
Mikhail Trubnikov
2023-10-13 15:28:17 +10:00
parent f69be40ad3
commit 3f3ab424ba
6 changed files with 71 additions and 43 deletions

View File

@@ -0,0 +1,23 @@
using PARR.DAL.Contracts;
namespace PARR.API.Contracts.V1.Requests.Queries
{
public class RobotHistoryQuery
{
/// <summary>
/// Фильтр по ИД шаблона
/// </summary>
public Guid? TemplateId { get; set; }
/// <summary>
/// Фильтр по ИД робота
/// </summary>
public RobotsEnum? RobotCode { get; set; }
/// <summary>
/// Фильтр по уровню истории
/// </summary>
public RobotHistoryLevelEnum? HistoryLevel { get; set; }
}
}

View File

@@ -1,15 +0,0 @@
namespace PARR.API.Contracts.V1.Requests.Queries
{
public class RobotTemplateHistoryQuery
{
/// <summary>
/// Фильтр по ИД шаблона
/// </summary>
public Guid? TemplateId { get; set; }
/// <summary>
/// Фильтр по ИД серии
/// </summary>
public Guid? IdSeries { get; set; }
}
}