package com.zt.plat.module.base.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 帆软上传配置
 */
@Component
@ConfigurationProperties(prefix = "finereport.upload")
public class FineReportUploadProperties {

    /**
     * 上传目标地址（sidecar 内部 Service），默认指向集群内 fine-report-upload 服务
     */
    private String url = "http://fine-report-upload.ns-f16a3067ca7b434aad127d15eac82503.svc.cluster.local:8081/upload";

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
