feat(dal,api): добавлен индекс в таблицу UnitInValues. В api изменены респонсы Template и Unit.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
public int? MaxValueRelationships { get; set; }
|
||||
|
||||
public bool? isParentRelationships { get; set; }
|
||||
public bool? IsParentRelationships { get; set; }
|
||||
|
||||
public required string TemplateNameMask { get; set; }
|
||||
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
public UnitResponse? Unit { get; set; }
|
||||
//public UnitResponse? Unit { get; set; }
|
||||
public UnitWithAttributesResponse? Unit { get; set; }
|
||||
|
||||
public JobResponse? Job { get; set; }
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Response с всеми аттребутами и их значениями
|
||||
/// Response со всеми аттребутами и их значениями
|
||||
/// </summary>
|
||||
public class UnitWithAttributesResponse : UnitResponse
|
||||
{
|
||||
@@ -24,6 +24,13 @@
|
||||
|
||||
public List<AttributeResponse>? Attributes { get; set; }
|
||||
|
||||
//public List<UnitResponse>? Parents { get; set; }
|
||||
|
||||
//public List<UnitResponse>? Childrens { get; set; }
|
||||
}
|
||||
|
||||
public class UnitRelationshipsAndAttributesResponse : UnitWithAttributesResponse
|
||||
{
|
||||
public List<UnitResponse>? Parents { get; set; }
|
||||
|
||||
public List<UnitResponse>? Childrens { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user