46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
namespace PARR.API.Contracts.V1.Responses
|
|
{
|
|
// Вот это тот самый респонс
|
|
public class EsppScheduleResponse
|
|
{
|
|
public EsppScheduleTypeScheduleResponse? TypeSchedule { get; set; }
|
|
|
|
public List<EsppScheduleValResponse>? Values { get; set; }
|
|
}
|
|
|
|
public class EsppScheduleValResponse
|
|
{
|
|
public int Order { get; set; }
|
|
|
|
public EsppScheduleTypeResponse? Type { get; set; }
|
|
|
|
public EsppScheduleTypeValueResponse? Value { get; set; }
|
|
}
|
|
|
|
public class EsppScheduleTypeScheduleResponse
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public required string Name { get; set; }
|
|
|
|
public required string Description { get; set; }
|
|
}
|
|
|
|
public class EsppScheduleTypeResponse
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public required string Name { get; set; }
|
|
|
|
public required string Description { get; set; }
|
|
}
|
|
|
|
public class EsppScheduleTypeValueResponse
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public required string Name { get; set; }
|
|
}
|
|
|
|
}
|