game-api/ff-game/src/main/java/com/ff/common/domain/TenantGameQuotaFlow.java

92 lines
2.0 KiB
Java
Raw Normal View History

2025-02-12 13:42:52 +08:00
package com.ff.common.domain;
import java.math.BigDecimal;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
2025-02-12 13:42:52 +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;
/**
* ff_tenant_game_quota_flow
*
* @author shi
* @date 2025-02-20
2025-02-12 13:42:52 +08:00
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TenantGameQuotaFlow extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键id */
@JsonSerialize(using = ToStringSerializer.class)
2025-02-12 13:42:52 +08:00
private Long id;
/** 租户key */
@Excel(name = "租户key")
private String tenantKey;
/** 额度类型 */
@Excel(name = "额度类型")
private String quotaType;
2025-02-12 13:42:52 +08:00
/** 用户账号id */
@Excel(name = "用户账号id")
@JsonSerialize(using = ToStringSerializer.class)
2025-02-12 13:42:52 +08:00
private Long memberId;
/** 平台 */
@Excel(name = "平台")
private String platformCode;
/** 币种代码 */
@Excel(name = "币种代码")
private String currencyCode;
2025-02-12 13:42:52 +08:00
/** 充值类型 false 扣除 true 充值 */
@Excel(name = "充值类型 false 扣除 true 充值")
private Boolean isOut;
/** 操作类型 operationType枚举 */
@Excel(name = "操作类型 operationType枚举")
private Integer operationType;
/** 游戏额度之前 */
@Excel(name = "游戏额度之前")
private BigDecimal balanceBefore;
/** 游戏额度 */
@Excel(name = "游戏额度")
private BigDecimal balance;
/** 兑换比例 */
@Excel(name = "兑换比例")
private BigDecimal exchangeRatio;
/** 兑换金额 */
@Excel(name = "兑换金额")
private BigDecimal exchangeMoney;
2025-02-12 13:42:52 +08:00
/** 游戏额度之后 */
@Excel(name = "游戏额度之后")
private BigDecimal balanceAfter;
/**
* ID
*/
private String sourceId;
2025-02-12 13:42:52 +08:00
}