package com.red.circle.wallet.infra.database.rds.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.BaseEntity;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户金币资产流水状态.
 * </p>
 *
 * @author pengliang on 2023/06/30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wallet_asset_record_status")
public class WalletAssetRecordStatus extends BaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 1金币，2钻石，3豆子，4游戏圈.
   */
  @TableField("biz_type")
  private Integer bizType;

  /**
   * 业务id.
   */
  @TableField("biz_id")
  private String bizId;

  /**
   * 1.退款.
   */
  @TableField("status")
  private Integer status;

}
