|
|
@@ -5,16 +5,14 @@
|
|
|
|
|
|
package scot.carricksoftware.grants;
|
|
|
|
|
|
-import jakarta.persistence.GeneratedValue;
|
|
|
-import jakarta.persistence.GenerationType;
|
|
|
-import jakarta.persistence.Id;
|
|
|
-import jakarta.persistence.MappedSuperclass;
|
|
|
+import jakarta.persistence.*;
|
|
|
|
|
|
@MappedSuperclass
|
|
|
public class BaseEntity {
|
|
|
|
|
|
@Id
|
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
+ @Column(name = "`id`")
|
|
|
private Long id;
|
|
|
|
|
|
public void setId(Long id) {
|