diff --git a/src/main/java/com/seoultech/synergybe/domain/apply/Apply.java b/src/main/java/com/seoultech/synergybe/domain/apply/Apply.java index 20d542b..4b57723 100644 --- a/src/main/java/com/seoultech/synergybe/domain/apply/Apply.java +++ b/src/main/java/com/seoultech/synergybe/domain/apply/Apply.java @@ -24,6 +24,7 @@ public class Apply { @Column(name = "apply_id") private Long id; + @Column(name = "apply_token") private String applyToken; @ManyToOne(fetch = FetchType.LAZY) diff --git a/src/main/java/com/seoultech/synergybe/domain/chat/domain/ChatRoom.java b/src/main/java/com/seoultech/synergybe/domain/chat/domain/ChatRoom.java index 9b8f877..5cadcab 100644 --- a/src/main/java/com/seoultech/synergybe/domain/chat/domain/ChatRoom.java +++ b/src/main/java/com/seoultech/synergybe/domain/chat/domain/ChatRoom.java @@ -14,6 +14,7 @@ public class ChatRoom { @Column(name = "chat_room_id") private Long id; + @Column(name = "chat_room_token") private String chatRoomToken; @ManyToOne(fetch = FetchType.LAZY) diff --git a/src/main/java/com/seoultech/synergybe/domain/comment/Comment.java b/src/main/java/com/seoultech/synergybe/domain/comment/Comment.java index 82f5cda..64d5d94 100644 --- a/src/main/java/com/seoultech/synergybe/domain/comment/Comment.java +++ b/src/main/java/com/seoultech/synergybe/domain/comment/Comment.java @@ -28,7 +28,10 @@ public class Comment extends BaseTime { @Id @Column(name = "comment_id") - private String id; + private Long id; + + @Column(name = "comment_token") + private String commentToken; @Embedded private CommentContent comment;