feat(api): В респонс RobotTaskScheduleSchResponse добавлено поле TypeCode
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
public class RobotTaskScheduleSchResponse
|
||||
{
|
||||
public required string Type { get; set; }
|
||||
public int TypeCode { get; set; }
|
||||
public required string Value { get; set; }
|
||||
public int Order { get; set; }
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace PARR.API.MappingProfiles.Resolvers
|
||||
{
|
||||
Order = conf.Order,
|
||||
Type = conf.EsppSchType!.Name,
|
||||
TypeCode = conf.EsppSchType!.Id,
|
||||
Value = conf.EsppSchValues.First().EsppSchTypeValue!.Value
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user