export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'pc_identity',
    title: '唯一标识',
    width: 150,
  },
  {
    dataIndex: 'name',
    title: '名称',
    width: 150,
  },
  {
    dataIndex: 'host',
    title: '主机地址',
    width: 140,
  },
  {
    dataIndex: 'ip_address',
    title: 'IP地址',
    width: 140,
  },
  {
    dataIndex: 'os',
    title: '操作系统',
    width: 120,
  },
  {
    dataIndex: 'os_version',
    title: '系统版本',
    width: 100,
  },
  {
    dataIndex: 'server_type',
    title: '类型',
    width: 100,
  },
  {
    dataIndex: 'location',
    title: '位置',
    width: 150,
  },
  {
    dataIndex: 'tags',
    title: '标签',
    width: 120,
  },
  {
    dataIndex: 'cpu',
    title: 'CPU使用率',
    width: 150,
    slotName: 'cpu',
  },
  {
    dataIndex: 'memory',
    title: '内存使用率',
    width: 150,
    slotName: 'memory',
  },
  {
    dataIndex: 'disk',
    title: '硬盘使用率',
    width: 150,
    slotName: 'disk',
  },
  {
    dataIndex: 'collect_on',
    title: '采集状态',
    width: 100,
    slotName: 'collect_on',
  },
  {
    dataIndex: 'status',
    title: '状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 180,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
