Files
parr_api/PARR.API/Contracts/V1/Responses/UnitBaseResponse.cs

26 lines
510 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace PARR.API.Contracts.V1.Responses
{
public class UnitBaseResponse
{
public Guid Id { get; set; }
public required string Name { get; set; }
}
public class UnitResponse : UnitBaseResponse
{
}
/// <summary>
/// Response с всеми аттребутами и их значениями
/// </summary>
public class UnitWithAttributesResponse : UnitBaseResponse
{
public List<AttributeResponse>? Attributes { get; set; }
}
}