feat(dal,api): добавлен индекс в таблицу UnitInValues. В api изменены респонсы Template и Unit.
This commit is contained in:
@@ -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