feat(api, dal): EsppScheduleTypeScheduleController. В таблицу EsppScheTypeValue добавлено поле Order
This commit is contained in:
@@ -313,6 +313,18 @@
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
#region Расписание ЕСПП
|
||||
|
||||
public static class EsppScheduleTypeSchedule
|
||||
{
|
||||
public const string GetAll = Base + "/espp-schedule-type-schedules/";
|
||||
public const string Get = Base + "/espp-schedule-type-schedules/" + getParam;
|
||||
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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