aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/data/entities/ReplyEntity.java
blob: 65a38576fd05b16cff22bee068d5e4b82bb7d278 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
    }
}