feat(api): HostController.Response Field, Value выделены в отдельные поля
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class UnitResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Response с всеми аттребутами и их значениями
|
||||
/// </summary>
|
||||
public class UnitWithAttributesResponse : UnitResponse
|
||||
{
|
||||
public List<AttributeResponse>? Attributes { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user