package br.com.delogic.asd.entities;

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

import br.com.delogic.jfunk.data.Identity;

@Entity
public class Person extends Identity<Integer> {

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqPerson")
    @SequenceGenerator(allocationSize = 1, initialValue = 0, name = "seqPerson", sequenceName = "seq_person")
    private Integer id;

    @Column(length = 100)
    private String name;

    public Integer getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}

@@ -279,29 +279,67 @@
 gic.
-jfunk.data.Identity;%0A
+asd.repository.jpa.BaseEntity;%0A%0A@SuppressWarnings(%22serial%22)
 %0A@En
@@ -375,11 +375,13 @@
 nds 
-Ide
+BaseE
 ntit

Change Identity by Entity