/**
 * 操作日志相关类型定义
 */

/**
 * 操作日志信息
 */
export interface OperationLog {
  id: number
  user_id?: number
  operation_type: string
  operation_name: string
  request_method: string
  request_path: string
  request_params: string
  response_status: number
  ip: string
  user_agent: string
  created_at: string
}

/**
 * 操作日志列表查询参数
 */
export interface OperationLogListParams {
  page?: number
  page_size?: number
  user_id?: number
  method?: string
  keyword?: string
  start_at?: string
  end_at?: string
}

/**
 * 操作日志列表响应
 */
export interface OperationLogListResponse {
  items: OperationLog[]
  total: number
  page: number
  page_size: number
}
