package com.ard.utils.netty.config;
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.context.annotation.Configuration;
|
|
/**
|
* @Description:
|
* @ClassName: NettyConfiguration
|
* @Author: 刘苏义
|
* @Date: 2023年12月05日9:07:18
|
**/
|
@Configuration
|
@Data
|
@ConfigurationProperties(prefix = "netty.udp")
|
public class NettyUdpConfiguration {
|
|
private Integer port;
|
private Boolean enabled;
|
|
}
|