diff --git a/src/main/java/com/totopia/server/modules/game/entity/BettingHistoryEntity.java b/src/main/java/com/totopia/server/modules/game/entity/BettingHistoryEntity.java index d25f1bd..24b3209 100644 --- a/src/main/java/com/totopia/server/modules/game/entity/BettingHistoryEntity.java +++ b/src/main/java/com/totopia/server/modules/game/entity/BettingHistoryEntity.java @@ -1,8 +1,8 @@ package com.totopia.server.modules.game.entity; -import com.totopia.server.commons.data.entity.DateAuditEntity; +import com.totopia.server.commons.data.entity.UserDateAuditEntity; import com.totopia.server.modules.game.type.BettingResultName; -import com.totopia.server.modules.user.entity.RoleEntity; + import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -19,7 +19,7 @@ import java.util.Set; @NoArgsConstructor @AllArgsConstructor @Builder -public class BettingHistoryEntity extends DateAuditEntity { +public class BettingHistoryEntity extends UserDateAuditEntity { @Id @GeneratedValue(generator = "bet_history_generator") diff --git a/src/main/java/com/totopia/server/modules/game/type/BettingResultName.java b/src/main/java/com/totopia/server/modules/game/type/BettingResultName.java index 1f4db29..0f343ee 100644 --- a/src/main/java/com/totopia/server/modules/game/type/BettingResultName.java +++ b/src/main/java/com/totopia/server/modules/game/type/BettingResultName.java @@ -1,7 +1,7 @@ package com.totopia.server.modules.game.type; public enum BettingResultName { - BETTING_RESULT_WINNING, // 당첨 - BETTING_RESULT_FAILURE, // 실패 - BETTING_RESULT_INVALIDITY // 무효 + WINNING, // 당첨 + FAILURE, // 실패 + INVALIDITY // 무효 }