package com.fzzy.igds.data; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; /** * @author: vince * @description: 系统中配置文件中配置系统参数 **/ @Component @Data public class ConfigData { @Value("${spring.profiles.active}") private String active; @Value("${framework.profile}") private String profile; @Value("${framework.companyId}") private String defaultCompanyId; @Value("${framework.support}") private String support; @Value("${framework.email}") private String email; @Value("${framework.phone}") private String phone; @Value("${framework.website}") private String website; @Value("${framework.address}") private String address; }