package application.model; import javax.persistence.*; @Entity(name = "account") public class User { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @Basic private String firstName; @Basic private String lastName; @Basic private String email; @Basic private String role; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getFirstName() { return firstName; } public void setFirstName(String name) { this.firstName = name; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getRole() { return role; } public void setRole(String role) { this.role = role; } }