feat(api): jobGroup при создании и обновлении принимает поле GroupingUnitFieldId. Валидации. Контроллеры KiiUnitController, RegionalEkPtkGroupController
This commit is contained in:
@@ -517,6 +517,16 @@
|
||||
public const string GetAll = Base + "/shortcodes/";
|
||||
}
|
||||
|
||||
public static class RegionalEkPtkGroup
|
||||
{
|
||||
public const string GetAll = Base + "/regional-ek-ptk-groups/";
|
||||
}
|
||||
|
||||
public static class KiiUnit
|
||||
{
|
||||
public const string GetAll = Base + "/kii-units/";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
|
||||
public Guid GroupTypeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Поле по которому групиируем, если тип - ГРУППА
|
||||
/// </summary>
|
||||
public Guid? GroupingUnitFieldId { get; set; }
|
||||
|
||||
public required string ShortDescription { get; set; }
|
||||
|
||||
public required string FullDescription { get; set; }
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
|
||||
public required JobGroupTypeResponse GroupType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// По какому полю грппируется, если используется тип ГРУППИРОВКА
|
||||
/// </summary>
|
||||
public FieldResponse? GroupingUnitField { get; set; }
|
||||
|
||||
// public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
// public bool IsAgent { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user