package  org.ts.ddcs.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author dylan
 */
@Component
@Configuration
@ConfigurationProperties(prefix = "run-config.server", ignoreUnknownFields = false)
@Data
public class ServerConfig {
    private String tcpPort;
    private String udpPort;
    private String templatesDir;
    private String templates;
    private String tmpDir;
}
