package thyyxxk.webserver.config.envionment;

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

/**
 * 归档配置
 */
@Component
@Data
@ConfigurationProperties(prefix = "thyy.archive")
@NoArgsConstructor
public class ArchiveConfig {

    /**
     * 生成的pdf在什么路径
     */
    private String path = System.getProperty("user.dir");

    /**
     * 因为 归档服务器也是在同样的服务器中所以，本机就可以了
     */
    private String archiveUrl = "http://localhost:20921/thyy/api/archive";


    private String emrArchiveUrl = "";
}
