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