export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'unique_id',
    title: '唯一标识',
    width: 150,
  },
  {
    dataIndex: 'name',
    title: '名称',
    width: 150,
  },
  {
    dataIndex: 'os',
    title: '操作系统',
    width: 150,
  },
  {
    dataIndex: 'location',
    title: '位置信息',
    width: 150,
  },
  {
    dataIndex: 'tags',
    title: '标签',
    width: 120,
  },
  {
    dataIndex: 'ip',
    title: 'IP地址',
    width: 150,
  },
  {
    dataIndex: 'remote_access',
    title: '远程访问',
    width: 100,
    slotName: 'remote_access',
  },
  {
    dataIndex: 'agent_config',
    title: 'Agent配置',
    width: 150,
    slotName: 'agent_config',
  },
  {
    dataIndex: 'cpu',
    title: 'CPU使用率',
    width: 150,
    slotName: 'cpu',
  },
  {
    dataIndex: 'memory',
    title: '内存使用率',
    width: 150,
    slotName: 'memory',
  },
  {
    dataIndex: 'disk',
    title: '硬盘使用率',
    width: 150,
    slotName: 'disk',
  },
  {
    dataIndex: 'status',
    title: '状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 180,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
