package com.red.circle.wallet.infra.database.mongo.service.bank;

import com.red.circle.wallet.infra.database.mongo.entity.bank.UserBankWithdrawGoldApply;
import com.red.circle.wallet.inner.model.cmd.UserBankWithdrawGoldApplyQryCmd;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 用户银行卡提现金币申请记录.
 *
 * @author pengliang on 2023/2/15
 */
public interface UserBankWithdrawGoldApplyService {

  /**
   * 添加金币申请记录.
   */
  void add(UserBankWithdrawGoldApply apply);

  /**
   * 获取一组指定的兑换信息.
   */
  Map<Long, UserBankWithdrawGoldApply> mapByIds(Set<Long> ids);

  /**
   * 用户银行卡金币兑换申请.
   */
  List<UserBankWithdrawGoldApply> pageBankWithdrawGoldApply(UserBankWithdrawGoldApplyQryCmd query);

}
