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

/**
 * 请求参数
 */
export interface AgentQueryParam extends PageQueryParam {
    account?: string | number;
    property?: string | null;
    direction?: number | null | string;
    startStatTime?: any;
    endStatTime?: any;
}
/**
 * 列表分页列表项
 */
export interface AgentItem {
    memberId: number;
    totalCount: number;
    totalBalance: number;
    totalProfit: number;
    totalLoss: number;
    totalRecharge: number;
    totalWithdraw: number;
    totalFee: number;
    todayOrderCount: number;
    todayFee: number;
    todayRecharge: number;
    todayWithdraw: number;
    yesterdayRecharge: number;
    yesterdayWithdraw: number;
    todayAward: number;
    totalAward: number;
    totalPrincipalAmount: number;
    todayNewUserCount: number;
}

/**
 * 分页项类型
 */
export type AgentPageResult = PageResult<AgentItem[]>;
