package common.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import java.util.Date; @Entity public class ReminderLevel { private Long id; private Long parent; private Long level; private String name; private String type; @Id @GeneratedValue public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getParent() { return parent; } public void setParent(Long parent) { this.parent = parent; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Long getLevel() { return level; } public void setLevel(Long level) { this.level = level; } public String getType() { return type; } public void setType(String type) { this.type = type; } }