feat(api, dal): EsppScheduleTypeScheduleController. В таблицу EsppScheTypeValue добавлено поле Order
This commit is contained in:
@@ -32,6 +32,12 @@
|
||||
public required string Description { get; set; }
|
||||
}
|
||||
|
||||
public class EsppScheduleTypeScheduleWithDataResponse : EsppScheduleTypeScheduleResponse
|
||||
{
|
||||
public List<EsppScheduleTypeConfigWithDataResponse>? Configs { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class EsppScheduleTypeResponse
|
||||
{
|
||||
public int Id { get; set; }
|
||||
@@ -41,6 +47,11 @@
|
||||
public required string Description { get; set; }
|
||||
}
|
||||
|
||||
public class EsppScheduleTypeWithDataResponse : EsppScheduleTypeResponse
|
||||
{
|
||||
public List<EsppScheduleTypeValueResponse>? Values { get; set; }
|
||||
}
|
||||
|
||||
public class EsppScheduleTypeValueResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
@@ -48,4 +59,13 @@
|
||||
public required string Value { get; set; }
|
||||
}
|
||||
|
||||
public class EsppScheduleTypeConfigWithDataResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public int Order { get; set; }
|
||||
|
||||
public EsppScheduleTypeWithDataResponse? Type { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user