export interface ServerItem {
    id: string;
    name: string;
    ip: string;
    status: 'online' | 'offline' | 'maintenance';
    os: string;
    cpu: number;
    memory: number;
    tags?: string[];
    description?: string;
    updatedAt?: string;
    createdAt?: string;
}

export type ServerList = {
    data: ServerItem[];
    total: number;
    success: boolean;
};

export interface ServerParams {
    current?: number;
    pageSize?: number;
    name?: string;
    ip?: string;
    status?: string;
    sorter?: Record<string, any>;
    filter?: Record<string, any>;
}
