import { GM_MAIL_STATUS, GM_MAIL_TYPE } from "../../consts";

export interface SearchUserParam {
    uid?: number;
    tel?: string;
    channelType?: string;
}

export interface SearchRoleParam {
    uid?: number;                // 玩家id
    roleId?: string;             // 角色id
    roleName?: string;           // 昵称
}

export interface SearchHeroParam {
    roleId?: string;
    roleName?: string;
    hid?: number;
}

export interface SearchEquipParam {
    roleId?: string;
    roleName?: string;
    id?: number;
}

export interface SearchItemParam {
    roleId?: string;
    roleName?: string;
    id?: number;
}

export interface SearchGuildParam {
    serverId?: number;
    name?: string;
}

export interface SearchMailParam {
    createTimeStart?: number;
    createTimeEnd?: number;
    serverId?: number;
    roleId?: string;
    roleName?: string;
    title?: string;
    status?: GM_MAIL_STATUS;
    mailType?: GM_MAIL_TYPE;
    hasGoods?: boolean;
}

export interface SearchMarqueeParam {
    code?: string;
    createdBy?: number;
    createTimeStart?: number;
    createTimeEnd?: number;
    sendTimeStart?: number;
    sendTimeEnd?: number;
}

export interface SearchGiftCodeParam {
    env?: string;
    id?: number;
    name?: string;
    createTimeStart?: number;
    createTimeEnd?: number;
}

export interface SearchGiftCodeDetailParam {
    giftId?: number;
    giftName?: string;
    generateType?: number;
    code?: string;
    roleId?: string;
    roleName?: string;
}

export interface SearchLogParam {
    env?: string;
    apiModule?: string;
    api?: string;
    createTimeStart?: number;
    createTimeEnd?: number;
    uid?: number;
}


export interface SearchUserLogParam {
    type?: string;
    serverId?: number;
    uid?: number;
    roleId?: string;
    roleName?: string;
    createTimeStart?: number;
    createTimeEnd?: number;
}