From 991defe316e5cad53455d049dacd0738b0b243ad Mon Sep 17 00:00:00 2001 From: jonghun Date: Mon, 10 Jun 2024 22:35:25 +0900 Subject: [PATCH] =?UTF-8?q?#87=20fix:=20Follow=20=EB=8C=80=EC=B2=B4?= =?UTF-8?q?=ED=82=A4=20=EC=88=98=EC=A0=95=20id=20->=20Long=20=ED=83=80?= =?UTF-8?q?=EC=9E=85=20token=20->=20String=20=ED=83=80=EC=9E=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/seoultech/synergybe/domain/follow/Follow.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/seoultech/synergybe/domain/follow/Follow.java b/src/main/java/com/seoultech/synergybe/domain/follow/Follow.java index da586f05..d2200f36 100644 --- a/src/main/java/com/seoultech/synergybe/domain/follow/Follow.java +++ b/src/main/java/com/seoultech/synergybe/domain/follow/Follow.java @@ -14,7 +14,10 @@ public class Follow extends BaseTime { @Id @Column(name = "follow_id") - private String id; + private Long id; + + @Column(name = "follow_token") + private String followToken; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "follower_id") @@ -29,7 +32,7 @@ public class Follow extends BaseTime { private FollowStatus status; @Builder - public Follow(String id, User follower, User following) { + public Follow(Long id, User follower, User following) { this.id = id; this.follower = follower; this.following = following;