先说明一下我的使用情况,最近在学习SpringBoot,在学习到配置文件的时候,创建了一个person类,如下:
@Component
@ConfigurationProperties(prefix = "person")
public class Person {
private String lastName;
private Integer age;
private Boolean boss;
private Date birth
先说明一下我的使用情况,最近在学习SpringBoot,在学习到配置文件的时候,创建了一个person类,如下:
@Component
@ConfigurationProperties(prefix = "person")
public class Person {
private String lastName;
private Integer age;
private Boolean boss;
private Date birth