feat(api): Просмотр истории роботов
This commit is contained in:
@@ -71,7 +71,10 @@ namespace PARR.API.MappingProfiles
|
||||
CreateMap<RobotHistory, RobotHistoryResponse>()
|
||||
.ForMember(d => d.Level, o => o.MapFrom(s => s.RobotHistoryLevel))
|
||||
.ForMember(d => d.Date, o => o.MapFrom(s => s.DateCreated))
|
||||
.ForMember(d => d.TaskId, o => o.MapFrom(s => s.RobotConfigurationId));
|
||||
.ForMember(d => d.TaskId, o => o.MapFrom(s => s.RobotConfigurationId))
|
||||
.ForMember(d => d.TaskStatus, o => o.MapFrom(s => s.StatusTask))
|
||||
.ForMember(d => d.TemplateId, o => o.MapFrom(s => s.RobotConfiguration!.TemplateId))
|
||||
.ForMember(d => d.TemplateName, o => o.MapFrom(s => s.RobotConfiguration!.Template!.Name));
|
||||
|
||||
|
||||
// --- RobotConfiguration ---
|
||||
|
||||
Reference in New Issue
Block a user