feat(api, dal): EsppScheduleTypeScheduleController. В таблицу EsppScheTypeValue добавлено поле Order

This commit is contained in:
Mikhail Trubnikov
2024-04-08 12:16:14 +10:00
parent 7be64e3529
commit 0ddd7bc9d2
12 changed files with 3566 additions and 86 deletions

View File

@@ -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; }
}
}