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

/**
 * 系统日志请求参数
 */
export interface AccessLogQueryParam extends PageQueryParam {
    adminName?: string;
    module?: string;
    property?: string;
    direction?: string;
    operation?: string;
}

/**
 * 系统日志分页项类型
 */
export type AccessLogPageResult = PageResult<AccessLogItem[]>;

/**
 * 系统日志列表分页列表项
 */
export interface AccessLogItem {
    id: number;
    accessIp?: string;
    accessMethod: string;
    accessTime: string;
    adminId: number;
    adminName: string;
    module: string;
    operation: string;
    uri: string;
}
