必须要有无参的构造方法, 实体类必须有一个无参构造方法,否则java能过反射找不到这个类 所以不能被实例化
public Customer() {
}
public Customer(Integer id, String username, String jobs, String phone, Integer personid) {
this.id = id;
this.username = username;
this.jobs = jobs;
this.phone = phone;
this.personid = personid;
}