aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/data/entities
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-07-01 05:36:42 +0300
committerGravatar Vitaly Takmazov2024-07-01 06:03:49 +0300
commit9c84e9ba60cce40f783a2d0bdde56dab96788b61 (patch)
tree4f421c628bc8a5d912bc0a12184f41de6287119b /src/main/java/com/juick/data/entities
parent9436d4927dc5035c83620bdd1dd34600370dce56 (diff)
JPA: code cleanup
Diffstat (limited to 'src/main/java/com/juick/data/entities')
-rw-r--r--src/main/java/com/juick/data/entities/EmailEntity.java1
-rw-r--r--src/main/java/com/juick/data/entities/FacebookEntity.java1
-rw-r--r--src/main/java/com/juick/data/entities/TelegramEntity.java1
-rw-r--r--src/main/java/com/juick/data/entities/VKEntity.java1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/juick/data/entities/EmailEntity.java b/src/main/java/com/juick/data/entities/EmailEntity.java
index e13ca772..10c14c1e 100644
--- a/src/main/java/com/juick/data/entities/EmailEntity.java
+++ b/src/main/java/com/juick/data/entities/EmailEntity.java
@@ -24,7 +24,6 @@ import jakarta.persistence.*;
public class EmailEntity extends BaseUserPropertyEntity {
@Id
@Column(name = "email")
- @GeneratedValue(strategy = GenerationType.IDENTITY)
private String email;
public String getEmail() {
diff --git a/src/main/java/com/juick/data/entities/FacebookEntity.java b/src/main/java/com/juick/data/entities/FacebookEntity.java
index 744848d9..6c6b4557 100644
--- a/src/main/java/com/juick/data/entities/FacebookEntity.java
+++ b/src/main/java/com/juick/data/entities/FacebookEntity.java
@@ -24,7 +24,6 @@ import jakarta.persistence.*;
public class FacebookEntity extends BaseUserPropertyEntity {
@Id
@Column(name = "fb_id")
- @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long facebookId;
public Long getFacebookId() {
diff --git a/src/main/java/com/juick/data/entities/TelegramEntity.java b/src/main/java/com/juick/data/entities/TelegramEntity.java
index 453b8c11..ccb21022 100644
--- a/src/main/java/com/juick/data/entities/TelegramEntity.java
+++ b/src/main/java/com/juick/data/entities/TelegramEntity.java
@@ -24,7 +24,6 @@ import jakarta.persistence.*;
public class TelegramEntity extends BaseUserPropertyEntity {
@Id
@Column(name = "tg_id")
- @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long identifier;
public Long getIdentifier() {
diff --git a/src/main/java/com/juick/data/entities/VKEntity.java b/src/main/java/com/juick/data/entities/VKEntity.java
index 5388c855..17840377 100644
--- a/src/main/java/com/juick/data/entities/VKEntity.java
+++ b/src/main/java/com/juick/data/entities/VKEntity.java
@@ -24,7 +24,6 @@ import jakarta.persistence.*;
public class VKEntity extends BaseUserPropertyEntity {
@Id
@Column(name = "vk_id")
- @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long vkId;
public Long getVkId() {