diff --git a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java b/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java index 337647a1..0daef479 100644 --- a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java +++ b/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java @@ -9,69 +9,64 @@ import org.framework.lazy.cloud.network.heartbeat.common.enums.ProtocolType; import org.wu.framework.core.NormalUsedString; import java.time.LocalDateTime; + /** - * describe 服务端配置信息 + * describe 服务端配置信息 * * @author Jia wei Wu * @date 2024/04/03 03:00 下午 - * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomain + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomain **/ @Data @Accessors(chain = true) -@Schema(title = "lazy_netty_server_properties",description = "服务端配置信息") +@Schema(title = "lazy_netty_server_properties", description = "服务端配置信息") public class LazyNettyServerProperties { - /** - * * 客户身份ID */ - @Schema(description ="客户身份ID",name ="clientId",example = "") + @Schema(description = "客户身份ID", name = "clientId", example = "") private String clientId; /** - * * 状态(on_line、off_line) */ - @Schema(description ="状态(on_line、off_line)",name ="connectStatus",example = "") + @Schema(description = "状态(on_line、off_line)", name = "connectStatus", example = "") private NettyClientStatus connectStatus; /** - * * 创建时间 */ - @Schema(description ="创建时间",name ="createTime",example = "") + @Schema(description = "创建时间", name = "createTime", example = "") private LocalDateTime createTime; /** - * * 服务端host */ - @Schema(description ="服务端host",name ="inetHost",example = "") + @Schema(description = "服务端host", name = "inetHost", example = "") private String inetHost; /** - * * 服务端端口 */ - @Schema(description ="服务端端口",name ="inetPort",example = "") + @Schema(description = "服务端端口", name = "inetPort", example = "") private Integer inetPort; /** - * * 类型(配置、DB) */ - @Schema(description ="类型(配置、DB)",name ="type",example = "") + @Schema(description = "类型(配置、DB)", name = "type", example = "") private PropertiesType type; /** * 协议类型 + * 默认tcp */ @Schema(description = "协议类型", name = "protocol_type", example = "") - private ProtocolType protocolType; + private ProtocolType protocolType = ProtocolType.TCP; /** * 令牌key */ @@ -84,10 +79,9 @@ public class LazyNettyServerProperties { @Schema(description = "令牌密钥", name = "appSecret", example = "") private String appSecret; /** - * * 更新时间 */ - @Schema(description ="更新时间",name ="updateTime",example = "") + @Schema(description = "更新时间", name = "updateTime", example = "") private LocalDateTime updateTime; } \ No newline at end of file