import { PageQueryParam, PageResult } from '../base';

/**
 * 请求参数
 */
export interface AuditQueryParam extends PageQueryParam {
  account?: string;
  cardNo?: string;
  auditStatus?: string;
  property?: string | null;
  direction?: string | null;
}


/**
 * 实名管理列表分页列表项
 */
export interface AuditItem {
  id: number;
  username: string;
  superPartner: string;
  inviterId: number;
  totalBalance: number | null;
  estimatedBalance: number | null;
  totalRecharge: number | null;
  totalWithdraw: number | null;
  totalProfit: number | null;
  totalLoss: number | null;
  todayProfit: number | null;
  todayLoss: number | null;
  todayOrder: number | null;
  totalAward: number | null;
  todayAward: number | null;
  totalFee: number | null;
  registrationTime: string;
  transactionStatus: number;
  status: number;
  identityCardImgFront: string;
  identityCardImgInHand: string;
  identityCardImgReverse: string;
}

/**
 * 实名管理分页项类型
 */
export type AuditPageResult = PageResult<AuditItem[]>;

/**
 * 审核不通过的原因
 */
export interface CheckNotPassForm {
  rejectReason: string;
}

/**
 * id参数
 */
export interface IdQueryParam {
  id: number | string;
}

/**
 * 会员实名审核详情页返回值
 */
export interface AuditDetailResponse {
  id: number;
  realName: string;
  idCard: string;
  auditStatus: number;
  identityCardImgFront: string;
  identityCardImgInHand: string;
  identityCardImgReverse: string;
}