@Entity
@Table(name = "user")
public class UserModel {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private BigInteger userNo;
@NotEmpty
@Column(name = "lastName")
private String email;
public BigInteger getUserNo() {
return this.userNo;
}
public void setUserNo(BigInteger userNo) {
this.userNo = userNo;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
}