mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-21 22:56:17 +08:00
26 lines
614 B
C#
26 lines
614 B
C#
using System.Collections.Generic;
|
|
using AgileConfig.Server.Data.Entity;
|
|
|
|
namespace AgileConfig.Server.Apisite.Controllers.api.Models
|
|
{
|
|
public class ServiceInfoVM
|
|
{
|
|
public string ServiceId { get; set; } = "";
|
|
|
|
public string ServiceName { get; set; } = "";
|
|
|
|
public string Ip { get; set; } = "";
|
|
|
|
public int? Port { get; set; }
|
|
|
|
public List<string> MetaData { get; set; } = new List<string>();
|
|
|
|
public ServiceStatus Status { get; set; }
|
|
}
|
|
|
|
public class QueryServiceInfoResultVM
|
|
{
|
|
public List<ServiceInfoVM> Data { get; set; }
|
|
}
|
|
}
|