package com.juick.service.data.entities; import javax.persistence.*; @Entity @Table(name = "logins") public class LoginEntity extends BaseUserPropertyEntity { @Id @Column(name = "hash", columnDefinition = "char(16)") private String hash; public String getHash() { return hash; } public void setHash(String hash) { this.hash = hash; } }