game-api/ff-game/src/main/java/com/ff/game/domain/GameBettingDetails.java

160 lines
3.7 KiB
Java
Raw Normal View History

2025-02-11 15:27:15 +08:00
package com.ff.game.domain;
import java.math.BigDecimal;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
2025-02-11 15:27:15 +08:00
import com.ff.base.annotation.Excel;
import com.ff.base.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
2025-02-11 15:27:15 +08:00
/**
* ff_game_betting_details
*
* @author shi
* @date 2025-02-10
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
2025-02-11 15:27:15 +08:00
public class GameBettingDetails extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键id */
@JsonSerialize(using = ToStringSerializer.class)
2025-02-11 15:27:15 +08:00
private Long id;
/**
* key
*/
private String tenantKey;
2025-02-11 15:27:15 +08:00
/** 币种编码 */
@Excel(name = "币种编码")
private String currencyCode;
/** 会员id */
@Excel(name = "会员id")
@JsonSerialize(using = ToStringSerializer.class)
2025-02-11 15:27:15 +08:00
private Long memberId;
/** 游戏id */
@Excel(name = "游戏id ")
private String gameCode;
2025-02-11 15:27:15 +08:00
/** 游戏id */
@Excel(name = "游戏id")
@JsonSerialize(using = ToStringSerializer.class)
2025-02-11 15:27:15 +08:00
private Long gameId;
/** 游戏类型 ff_game_type 字典 */
@Excel(name = "游戏类型 ff_game_type 字典")
private Integer gameType;
2025-02-11 15:27:15 +08:00
/** 游戏平台 */
@Excel(name = "游戏平台 ")
private String platformCode;
/** 游戏名称 */
@Excel(name = "游戏名称")
private String gameName;
/** 注单状态 1: 赢 2: 输 3: 平局 */
@Excel(name = "注单状态 1: 赢 2: 输 3: 平局")
private Integer gameStatus;
/**
* 1
9
11
12
17 ()
18 ()
19
28
*/
2025-02-11 15:27:15 +08:00
@Excel(name = "注单类型")
private Integer gameStatusType;
/** 游戏币种类型 */
@Excel(name = "游戏币种类型")
private String gameCurrencyCode;
/** 游戏账号 */
@Excel(name = "游戏账号")
private String account;
/**
*
*/
private String round;
/**
*
*/
private String table;
/**
*
*/
private String seat;
/**
* text
*/
private String betContent;
2025-02-11 15:27:15 +08:00
/** 游戏注单唯一值 */
@Excel(name = "游戏注单唯一值")
@JsonSerialize(using = ToStringSerializer.class)
2025-02-11 15:27:15 +08:00
private Long wagersId;
/** 投注时间 (Unix 时间戳) */
@Excel(name = "投注时间 (Unix 时间戳)")
@JsonSerialize(using = ToStringSerializer.class)
2025-02-11 15:27:15 +08:00
private Long wagersTime;
/** 投注金额 */
@Excel(name = "投注金额")
private BigDecimal betAmount;
/** 派彩时间 (Unix 时间戳) */
@Excel(name = "派彩时间 (Unix 时间戳)")
@JsonSerialize(using = ToStringSerializer.class)
2025-02-11 15:27:15 +08:00
private Long payoffTime;
/** 派彩金额 */
@Excel(name = "派彩金额")
private BigDecimal payoffAmount;
2025-02-11 15:27:15 +08:00
/** 对帐时间 (Unix 时间戳) */
@Excel(name = "对帐时间 (Unix 时间戳)")
@JsonSerialize(using = ToStringSerializer.class)
2025-02-11 15:27:15 +08:00
private Long settlementTime;
/** 有效投注金额 ※注 1 */
@Excel(name = "有效投注金额 ※注 1")
private BigDecimal turnover;
/** 订单id */
@Excel(name = "订单id")
private String orderNo;
/** 结算状态 1 未结算 2已结算 3 已撤单 4 已取消 */
2025-02-11 15:27:15 +08:00
@Excel(name = "结算状态 1 未结算 2已结算 3 已撤单")
private Integer settlementStatus;
}