export interface WithdrawAccountVO {
  id: string | number;
  companyId?: string | number;
  accountType?: number;
  accountName?: string;
  accountNumber?: string;
  bankName?: string;
  bankBranch?: string;
  isDefault?: number;
  status?: number;
  auditorId?: string | number;
  auditTime?: string;
  auditRemark?: string;
  createTime?: string;
}

export interface WithdrawVO extends BaseEntity {
  id: string | number;
  withdrawNo: string;
  companyId: string | number;
  companyName?: string;
  accountId: string | number;
  withdrawAmount: number;
  withdrawStatus: number;
  tradeNo?: string;
  auditorId?: string | number;
  auditTime?: string;
  auditRemark?: string;
  failReason?: string;
  fileUrl?: string;
  createTime?: string;
  transferTime?: string;
  account?: WithdrawAccountVO;
}

export interface WithdrawQuery extends PageQuery {
  withdrawNo?: string;
  companyId?: string | number;
  accountId?: string | number;
  withdrawStatus?: string | number;
  params?: {
    beginTime?: string;
    endTime?: string;
  };
}
