package org.ts.ddcs.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 服务配置
 * @author dylan
 */
@Data
@Component
@Configuration
public class ServerConfig {
    @Value("${run-config.server.tcp.port}")
    private int tcpPort;

    @Value("${run-config.server.udp.port}")
    private int udpPort;

}
