user的代码是什么呢?
@Table(name = 'user')public class User
private Long id;
private String firstName;
private String lastName;
private String email;
private int age;
private Set emailAddresses = new HashSet();
public User() [ ]
@Id
@GeneratedValue(generator = 'increment')
@GenericGenerator(name = 'increment', strategy = 'increment')public Long getld()l return id; ]
private void setld(Long id) [ this.id= id; ]
赞0
踩0