package cc.mrbird.febs.server.hr.properties; import lombok.Data; import org.springframework.boot.SpringBootConfiguration; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.PropertySource; /** * @author MrBird */ @Data @SpringBootConfiguration @PropertySource(value = {"classpath:febs-server-hr.properties"}) @ConfigurationProperties(prefix = "febs.server.hr") public class FebsServerHrProperties { /** * 文件上传地址 */ private String uploadCommonPath = "C:/upload/hr/commonfile/"; private String uploadSinglePath = "C:/upload/hr/singlefile/"; private String empBaseInfoPath = "C:/upload/hr/empBaseInfo/"; }