
export type ResponseData<T> = {
    code: number;
    msg: string;
    data: T;
};

export type PageDTO<T> = {
    total: number;
    rows: Array<T>;
};

export interface BasePageQuery extends BaseQuery {
    pageNum?: number;
    pageSize?: number;
}

export interface BaseQuery {
    beginTime?: string;
    endTime?: string;
    orderColumn?: string;
    orderDirection?: string;
    timeRangeColumn?: string;
}