diff --git a/Fengling.Platform.Domain/AggregatesModel/GatewayAggregate/GwHealthCheckConfig.cs b/Fengling.Platform.Domain/AggregatesModel/GatewayAggregate/GwHealthCheckConfig.cs new file mode 100644 index 0000000..788fc62 --- /dev/null +++ b/Fengling.Platform.Domain/AggregatesModel/GatewayAggregate/GwHealthCheckConfig.cs @@ -0,0 +1,27 @@ +namespace Fengling.Platform.Domain.AggregatesModel.GatewayAggregate; + +/// +/// 健康检查配置(值对象) +/// +public class GwHealthCheckConfig +{ + /// + /// 是否启用健康检查 + /// + public bool Enabled { get; set; } + + /// + /// 健康检查路径 + /// + public string? Path { get; set; } + + /// + /// 检查间隔(秒) + /// + public int IntervalSeconds { get; set; } = 30; + + /// + /// 超时时间(秒) + /// + public int TimeoutSeconds { get; set; } = 10; +}