SpringBoot automatically mapped to comment property profile and entity class
- Controller configuration above
@Component
@PropertySource({"classpath:application.properties"})
@ConfigurationProperties
- The above configuration property
@Value("${test.name}")