content: package me.aboullaite.model;
  
  import java.util.Date;
  import javax.persistence.Entity;
  import javax.persistence.GeneratedValue;
  import javax.persistence.GenerationType;
  import javax.persistence.Id;
  
  import org.hibernate.annotations.CreationTimestamp;
  
  @Entity
  public class User {
  
  	@Id
  	@GeneratedValue(strategy = GenerationType.AUTO)
  	private Long userId;
  	private String firstName;
  	private String lastName;
  	private String email;
  	private String password;
  
  	@CreationTimestamp
  	private Date created;
  
  	public Long getUserId() {
  		return userId;
  	}
  
  	public void setUserId(Long userId) {
  		this.userId = userId;
  	}
  
  	public String getFirstName() {
  		return firstName;
  	}
  
  	public void setFirstName(String firstName) {
  		this.firstName = firstName;
  	}
  
  	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 getPassword() {
  		return password;
  	}
  
  	public void setPassword(String password) {
  		this.password = password;
  	}
  
  	public Date getCreated() {
  		return created;
  	}
  
  	public void setCreated(Date created) {
  		this.created = created;
  	}
  }
  