베팅 히스토리 수정

This commit is contained in:
byung eun park 2019-10-26 17:35:10 +09:00
parent 470ef8c8fa
commit bb1f00d233
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
package com.totopia.server.modules.game.entity; 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.game.type.BettingResultName;
import com.totopia.server.modules.user.entity.RoleEntity;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
@ -19,7 +19,7 @@ import java.util.Set;
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@Builder @Builder
public class BettingHistoryEntity extends DateAuditEntity { public class BettingHistoryEntity extends UserDateAuditEntity {
@Id @Id
@GeneratedValue(generator = "bet_history_generator") @GeneratedValue(generator = "bet_history_generator")

View File

@ -1,7 +1,7 @@
package com.totopia.server.modules.game.type; package com.totopia.server.modules.game.type;
public enum BettingResultName { public enum BettingResultName {
BETTING_RESULT_WINNING, // 당첨 WINNING, // 당첨
BETTING_RESULT_FAILURE, // 실패 FAILURE, // 실패
BETTING_RESULT_INVALIDITY // 무효 INVALIDITY // 무효
} }