表对应的JavaBean:
package com.wzy.bootmtp.pojo;
import lombok.Data;
@Data//生产get、set、toString等方法的注解
public class User {
private Integer id;
private String name;
private String age;
private String email;
}
Lombok使用参考: https://blog.csdn.net/motui/article/details/79012846