package com.juick.service.data.entities; import javax.persistence.*; @Entity @Table(name = "replies") public class ReplyEntity extends BaseMessagePropertyEntity { @Id @Column(name = "reply_id", columnDefinition = "smallint") @GeneratedValue(strategy = GenerationType.AUTO) private Long replyId; @Column(name = "txt", columnDefinition = "clob") private String text; public String getText() { return text; } public void setText(String text) { this.text = text; } public Long getReplyId() { return replyId; } public void setReplyId(Long replyId) { this.replyId = replyId; } }