package foo.bar.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import foo.bar.core.entity.AbstractEntity;

/**
 * Simple data container class.
 */
@Entity
public class Comment extends AbstractEntity<Long> {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    private String author;
    private String content;

    public Comment() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Comment [id=" + id + ", author=" + author + ", content=" + content + "]";
    }

}

@@ -54,119 +54,8 @@
 ity;
-%0Aimport javax.persistence.GeneratedValue;%0Aimport javax.persistence.GenerationType;%0Aimport javax.persistence.Id;
 %0A%0Aim
@@ -201,89 +201,8 @@
  %7B%0A%0A
-    @Id%0A    @GeneratedValue(strategy = GenerationType.AUTO)%0A    private Long id;%0A
     
@@ -304,122 +304,8 @@
  %7D%0A%0A
-    public Long getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(Long id) %7B%0A        this.id = id;%0A    %7D%0A%0A
     
@@ -667,18 +667,28 @@
 %5Bid=%22 + 
-id
+this.getId()
  + %22, au

Fix comment entity