2025-02-11 15:27:15 +08:00
|
|
|
|
package com.ff.game.domain;
|
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
2025-02-27 16:26:02 +08:00
|
|
|
|
|
|
|
|
|
|
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;
|
2025-03-14 13:31:17 +08:00
|
|
|
|
import lombok.experimental.SuperBuilder;
|
2025-02-11 15:27:15 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 会员金额转移记录对象 ff_game_exchange_money
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author shi
|
2025-02-12 13:42:52 +08:00
|
|
|
|
* @date 2025-02-12
|
2025-02-11 15:27:15 +08:00
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
|
@NoArgsConstructor
|
2025-03-14 13:31:17 +08:00
|
|
|
|
@SuperBuilder
|
2025-02-11 15:27:15 +08:00
|
|
|
|
public class GameExchangeMoney extends BaseEntity
|
|
|
|
|
|
{
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
/** 主键id */
|
2025-02-27 16:26:02 +08:00
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
2025-02-11 15:27:15 +08:00
|
|
|
|
private Long id;
|
|
|
|
|
|
|
2025-02-12 13:42:52 +08:00
|
|
|
|
/** 租户key */
|
|
|
|
|
|
@Excel(name = "租户key")
|
|
|
|
|
|
private String tenantKey;
|
|
|
|
|
|
|
2025-02-11 15:27:15 +08:00
|
|
|
|
/** 币种编码 */
|
|
|
|
|
|
@Excel(name = "币种编码")
|
|
|
|
|
|
private String currencyCode;
|
|
|
|
|
|
|
2025-02-12 13:42:52 +08:00
|
|
|
|
/** 第三方交易id */
|
|
|
|
|
|
@Excel(name = "第三方交易id")
|
2025-02-11 15:27:15 +08:00
|
|
|
|
private String transactionId;
|
|
|
|
|
|
|
2025-02-22 10:58:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 订单id
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String orderId;
|
|
|
|
|
|
|
2025-02-11 15:27:15 +08:00
|
|
|
|
/** 会员id */
|
|
|
|
|
|
@Excel(name = "会员id")
|
2025-02-27 16:26:02 +08:00
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
2025-02-11 15:27:15 +08:00
|
|
|
|
private Long memberId;
|
|
|
|
|
|
|
|
|
|
|
|
/** 游戏平台 */
|
|
|
|
|
|
@Excel(name = "游戏平台 ")
|
|
|
|
|
|
private String platformCode;
|
|
|
|
|
|
|
|
|
|
|
|
/** 操作金额 */
|
|
|
|
|
|
@Excel(name = "操作金额")
|
|
|
|
|
|
private BigDecimal balance;
|
|
|
|
|
|
|
|
|
|
|
|
/** 租户操作额度 */
|
|
|
|
|
|
@Excel(name = "租户操作额度")
|
|
|
|
|
|
private BigDecimal quota;
|
|
|
|
|
|
|
|
|
|
|
|
/** 转账前金额(游戏币) */
|
|
|
|
|
|
@Excel(name = " 转账前金额(游戏币)")
|
|
|
|
|
|
private BigDecimal coinBefore;
|
|
|
|
|
|
|
|
|
|
|
|
/** 转账后金额(游戏币) */
|
|
|
|
|
|
@Excel(name = "转账后金额(游戏币)")
|
|
|
|
|
|
private BigDecimal coinAfter;
|
|
|
|
|
|
|
|
|
|
|
|
/** 转账前金额(指定货币) */
|
|
|
|
|
|
@Excel(name = "转账前金额(指定货币)")
|
|
|
|
|
|
private BigDecimal currencyBefore;
|
|
|
|
|
|
|
|
|
|
|
|
/** 转账后金额(指定货币) */
|
|
|
|
|
|
@Excel(name = "转账后金额(指定货币)")
|
|
|
|
|
|
private BigDecimal currencyAfter;
|
|
|
|
|
|
|
2025-02-14 17:31:52 +08:00
|
|
|
|
|
2025-02-12 13:42:52 +08:00
|
|
|
|
|
2025-02-11 15:27:15 +08:00
|
|
|
|
/** 转出类型 1游戏商转入到用户全部转出 2 用户转移到游戏商 3 游戏商转移额度到平台商 */
|
|
|
|
|
|
@Excel(name = "转出类型 1游戏商转入到用户全部转出 2 用户转移到游戏商 3 游戏商转移额度到平台商")
|
|
|
|
|
|
private Integer exchangeType;
|
|
|
|
|
|
|
2025-03-12 17:55:57 +08:00
|
|
|
|
/** 状态,0:进行中、1:成功、2:失败 */
|
2025-02-11 15:27:15 +08:00
|
|
|
|
@Excel(name = "状态 1 成功 2失败")
|
|
|
|
|
|
private Integer status;
|
|
|
|
|
|
|
2025-04-08 17:12:40 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 步 GameExchangeStep 枚举
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Integer step;
|
2025-02-11 15:27:15 +08:00
|
|
|
|
|
2025-04-08 17:12:40 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 步骤状态 GameExchangeStepStatus 枚举
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Integer stepStatus;
|
2025-02-11 15:27:15 +08:00
|
|
|
|
}
|