package hu.unideb.inf.rft.neuban.persistence.entities;



import java.time.LocalDateTime;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Table(name = "comment")
@Entity
public class CommentEntity extends SuperEntity<Long> {

	private static final long serialVersionUID = 1L;

	@NotNull
	@Lob
	@Column(name = "content")
	private String content;

	@Column(name = "created_time")
	private LocalDateTime createdTime;

	@JoinColumn
	@ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.MERGE, CascadeType.REMOVE })
	private UserEntity user;

	@JoinColumn(name = "card_id")
	@ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.MERGE, CascadeType.REMOVE })
	private CardEntity card;

	@Builder
	public CommentEntity(final Long id, final String content, final LocalDateTime createdDateTime,
			final UserEntity user, final CardEntity card) {
		super(id);
		this.content = content;
		this.createdTime = createdDateTime;
		this.user = user;
		this.card = card;
	}

}

@@ -62,276 +62,18 @@
 ort 
-java.time.LocalDateTime;%0A%0Aimport javax.persistence.CascadeType;%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.FetchType;%0Aimport javax.persistence.JoinColumn;%0Aimport javax.persistence.Lob;%0Aimport javax.persistence.ManyToOne;
+lombok.*;%0A
 %0Aimp
@@ -94,21 +94,17 @@
 istence.
-Table
+*
 ;%0Aimport
@@ -146,140 +146,38 @@
 ll;%0A
-%0A
 import 
-lombok.Builder;%0Aimport lombok.Data;%0Aimport lombok.EqualsAndHashCode;%0Aimport lombok.NoArgsConstructor;%0Aimport lombok.ToString
+java.time.LocalDateTime
 ;%0A%0A@
@@ -621,36 +621,16 @@
 pe.MERGE
-, CascadeType.REMOVE
  %7D)%0A%09pri
@@ -752,28 +752,8 @@
 ERGE
-, CascadeType.REMOVE
  %7D)%0A

Fix comment removing everything