feat(api,core,domain): Получение снапшотов работы роботов
This commit is contained in:
26
PARR.Domain/DTOs/RobotSnapshotDTO/RobotSnapshotItemDto.cs
Normal file
26
PARR.Domain/DTOs/RobotSnapshotDTO/RobotSnapshotItemDto.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
using PARR.Domain.DTOs.User;
|
||||
|
||||
namespace PARR.Domain.DTOs.RobotSnapshotDTO
|
||||
{
|
||||
public record RobotSnapshotItemDto
|
||||
{
|
||||
public required UserBaseDto Robot { get; init; }
|
||||
|
||||
public List<RobotSnapshotDto> Snapshots { get; init; } = new();
|
||||
}
|
||||
|
||||
public record RobotSnapshotDto
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
|
||||
public DateTimeOffset DateCreated { get; init; }
|
||||
|
||||
public int TemplateRobotsCount { get; init; }
|
||||
|
||||
public int ScheduleRobotsCount { get; init; }
|
||||
|
||||
public int MaxRobots { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user