‘liusuyi’
2024-03-12 8e0b2b23294ac1fdce43b9076b93e29e9aa51530
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
 
}