package org.ts.ddcs.Config;

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

/**
 * @author dylan
 */
@Component
@Configuration
@ConfigurationProperties(prefix = "run-config.server", ignoreUnknownFields = false)
@Data
public class ServerConfig {
    private String serverId;
    private String templates;
    private String itemtemplates;
    private String notifyurl;
    private String rtuUploadPhotoPath;
    private String taishanNotifyUrl;
    private boolean relayRemote;
    private boolean dataBaseSave;
    private String correctValueUrl;
    private String releayStyle;
    private String wxAppId;
    private String wxSecret;
    private boolean connectManage;
    private boolean rtuStatusCheck;
    private boolean relayToTaishan;
    private String projectImplementPhotoPath;
    private String imageServerPath;
    private boolean relayToLog;
    private boolean dataShare;
    private String codeExt;
    private String tmpPhotoPath;
    private String jopHandler;
}
