Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame^] | 1 | package eu.mulk.demos.blog; |
2 | |||||
3 | import io.quarkus.hibernate.orm.panache.PanacheEntity; | ||||
4 | import java.time.Instant; | ||||
5 | import javax.persistence.Entity; | ||||
6 | |||||
7 | @Entity | ||||
8 | public class Comment extends PanacheEntity { | ||||
9 | |||||
10 | public String authorName; | ||||
11 | public Instant publicationDate; | ||||
12 | public String text; | ||||
13 | } |