namespace Fengling.Platform.Domain.AggregatesModel.GatewayAggregate; /// /// 目标端点(值对象,内嵌于 GwCluster) /// public class GwDestination { /// /// 目标标识 /// public string DestinationId { get; set; } = string.Empty; /// /// 后端地址 /// public string Address { get; set; } = string.Empty; /// /// 健康检查端点 /// public string? Health { get; set; } /// /// 权重(用于加权负载均衡) /// public int Weight { get; set; } = 1; /// /// 健康状态 /// public int HealthStatus { get; set; } = 1; /// /// 状态 /// public int Status { get; set; } = 1; }