package com.ff.common.domain;

import java.math.BigDecimal;
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-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TenantGameQuotaFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 租户key */
    @Excel(name = "租户key")
    private String tenantKey;

    /** 用户账号id */
    @Excel(name = "用户账号id")
    private Long memberId;

    /** 充值类型 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 balanceAfter;


}
