160 lines
3.7 KiB
Java
160 lines
3.7 KiB
Java
package com.ff.game.domain;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
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;
|
|
|
|
/**
|
|
* 会员投注细目对象 ff_game_betting_details
|
|
*
|
|
* @author shi
|
|
* @date 2025-02-10
|
|
*/
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
@SuperBuilder
|
|
public class GameBettingDetails extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键id */
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long id;
|
|
|
|
|
|
/**
|
|
* 租户key
|
|
*/
|
|
private String tenantKey;
|
|
|
|
|
|
/** 币种编码 */
|
|
@Excel(name = "币种编码")
|
|
private String currencyCode;
|
|
|
|
/** 会员id */
|
|
@Excel(name = "会员id")
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long memberId;
|
|
|
|
/** 游戏id */
|
|
@Excel(name = "游戏id ")
|
|
private String gameCode;
|
|
|
|
/** 游戏id */
|
|
@Excel(name = "游戏id")
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long gameId;
|
|
|
|
/** 游戏类型 ff_game_type 字典 */
|
|
@Excel(name = "游戏类型 ff_game_type 字典")
|
|
private Integer gameType;
|
|
|
|
/** 游戏平台 */
|
|
@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 旋转奖金
|
|
|
|
*/
|
|
@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;
|
|
|
|
/** 游戏注单唯一值 */
|
|
@Excel(name = "游戏注单唯一值")
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long wagersId;
|
|
|
|
/** 投注时间 (Unix 时间戳) */
|
|
@Excel(name = "投注时间 (Unix 时间戳)")
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long wagersTime;
|
|
|
|
/** 投注金额 */
|
|
@Excel(name = "投注金额")
|
|
private BigDecimal betAmount;
|
|
|
|
/** 派彩时间 (Unix 时间戳) */
|
|
@Excel(name = "派彩时间 (Unix 时间戳)")
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long payoffTime;
|
|
|
|
/** 派彩金额 */
|
|
@Excel(name = "派彩金额")
|
|
private BigDecimal payoffAmount;
|
|
|
|
|
|
/** 对帐时间 (Unix 时间戳) */
|
|
@Excel(name = "对帐时间 (Unix 时间戳)")
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long settlementTime;
|
|
|
|
/** 有效投注金额 ※注 1 */
|
|
@Excel(name = "有效投注金额 ※注 1")
|
|
private BigDecimal turnover;
|
|
|
|
/** 订单id */
|
|
@Excel(name = "订单id")
|
|
private String orderNo;
|
|
|
|
/** 结算状态 1 未结算 2已结算 3 已撤单 4 已取消 */
|
|
@Excel(name = "结算状态 1 未结算 2已结算 3 已撤单")
|
|
private Integer settlementStatus;
|
|
|
|
|
|
}
|