export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'unique_id',
    title: 'OID',
    width: 150,
  },
  {
    dataIndex: 'name',
    title: '名称',
    width: 150,
  },
  {
    dataIndex: 'type',
    title: '类型',
    width: 120,
  },
  {
    dataIndex: 'manu',
    title: '厂商',
    width: 150,
  },
  {
    dataIndex: 'model_num',
    title: '型号',
    width: 150,
  },
  {
    dataIndex: 'location',
    title: '位置信息',
    width: 150,
  },
  {
    dataIndex: 'tags',
    title: '标签',
    width: 120,
  },
  {
    dataIndex: 'ip',
    title: 'IP地址',
    width: 150,
  },
  {
    dataIndex: 'protocol',
    title: '通讯协议',
    width: 100,
  },
  {
    dataIndex: 'indicator',
    title: '网络设备指标',
    width: 150,
    slotName: 'indicator',
  },
  {
    dataIndex: 'status',
    title: '状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 180,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
