comment period
This commit is contained in:
@@ -20,7 +20,6 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
|
||||
|
||||
import com.google.common.collect.Maps;
|
||||
|
||||
|
||||
/**
|
||||
* The Class Comment.
|
||||
*/
|
||||
@@ -29,34 +28,21 @@ import com.google.common.collect.Maps;
|
||||
@EntityListeners({ AuditingEntityListener.class })
|
||||
public class Comment {
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
@Column(name = "id", nullable = false)
|
||||
private Long id;
|
||||
|
||||
|
||||
@Column(name = "author", nullable = false)
|
||||
private String author;
|
||||
|
||||
|
||||
@Column(name = "created", nullable = false)
|
||||
private Instant created;
|
||||
|
||||
|
||||
@Column(name = "target", nullable = false)
|
||||
private Long target;
|
||||
|
||||
|
||||
@Column(name = "parent", nullable = true)
|
||||
private Long parent;
|
||||
|
||||
|
||||
@Lob
|
||||
@Column(name = "text", nullable = false)
|
||||
private String text;
|
||||
|
||||
|
||||
@Transient
|
||||
private Map<String, Object> metadata;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user