베팅 히스토리 수정
This commit is contained in:
parent
470ef8c8fa
commit
bb1f00d233
|
@ -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")
|
||||
|
|
|
@ -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 // 무효
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user