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 serverId;
    private boolean messageNotify;
    private int onlineDuration;
    private long clockError;
}
