From 6d84c50f85ff056e503295a80014c7ba5f23ba35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=87=E1=85=A1=E1=86=A8=E1=84=83=E1=85=A1=E1=84=8B?= =?UTF-8?q?=E1=85=A8?= Date: Tue, 15 Aug 2023 10:44:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Long=20type=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moyeomoyeo/team_building/domain/entity/User.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/java/com/nexters/moyeomoyeo/team_building/domain/entity/User.java b/src/main/java/com/nexters/moyeomoyeo/team_building/domain/entity/User.java index 2b45434..5f6ffcf 100644 --- a/src/main/java/com/nexters/moyeomoyeo/team_building/domain/entity/User.java +++ b/src/main/java/com/nexters/moyeomoyeo/team_building/domain/entity/User.java @@ -58,14 +58,7 @@ public class User extends BaseEntity { @JoinColumn(name = "team_id") private Team team; - private String teamBuildingId; - - protected User(String name, Position position, String teamBuildingId) { - this.name = name; - this.position = position; - this.teamBuildingId = teamBuildingId; - this.uuid = UuidGenerator.createUuid(); - } + private Long teamBuildingId; public void addTeam(Team team) { if (this.team != null) {