34 lines
831 B
C#
34 lines
831 B
C#
|
|
namespace PARR.API.Contracts.V1.Responses
|
|||
|
|
{
|
|||
|
|
public class HostBaseResponse
|
|||
|
|
{
|
|||
|
|
public Guid Id { get; set; }
|
|||
|
|
|
|||
|
|
public string Ek { get; set; } = string.Empty;
|
|||
|
|
|
|||
|
|
public required string IP { get; set; }
|
|||
|
|
|
|||
|
|
public string? Status { get; set; }
|
|||
|
|
|
|||
|
|
public string? WorkGroup { get; set; }
|
|||
|
|
|
|||
|
|
public string? ResponseArea { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Респонс Хоста для Шаблона
|
|||
|
|
/// </summary>
|
|||
|
|
public class HostTemplateResponse : HostBaseResponse
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Респонс Хоста с приложениями (компнентном составе)
|
|||
|
|
/// </summary>
|
|||
|
|
public class HostWithApplicationsResponse : HostBaseResponse
|
|||
|
|
{
|
|||
|
|
public List<ApplicationResponse>? Applications { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|