import type { PageParam } from '@/api';

/**
 * 收益
 */
export interface Withdraw {
  id?: number;
  withdrawCode?: string;
  nickname?: string;
  payTypeDis?: string;
  cardTypeDis?: string;
  alipayName?: string;
  alipayAccount?: string;
  money?: number;
  applyStatusDis?: string;
  rejectReason?: string;
  comments?: string;
  createTime?: string;
  updateTime?: string;
}

/**
 * 收益搜索条件
 */
export interface WithdrawParam extends PageParam {
  keywords?: string;
  nickname?: string;
  cardType?: number;
  payType?: number;
  applyStatus?: number;
  beginDate?: string;
  endDate?: string;
}

/**
 * 审核通过
 */
export interface AuditPassParam {
  id?: number;
  payType?: number;
  comments?: string;
}

/**
 * 审核拒绝
 */
export interface AuditRejectParam {
  id?: number;
  rejectReason?: string;
}
