import type { TableColumnData } from '@arco-design/web-vue/es/table/interface'

export const columns: TableColumnData[] = [
  {
    title: '序号',
    dataIndex: 'index',
    slotName: 'index',
    width: 80,
  },
  {
    title: '楼层名称',
    dataIndex: 'name',
    width: 150,
  },
  {
    title: '楼层编码',
    dataIndex: 'code',
    width: 140,
  },
  {
    title: '所属中心',
    dataIndex: 'datacenter',
    slotName: 'datacenter',
    width: 180,
  },
  {
    title: '楼层号',
    dataIndex: 'floor_number',
    width: 100,
  },
  {
    title: '描述',
    dataIndex: 'description',
    ellipsis: true,
    tooltip: true,
    width: 200,
  },
  {
    title: '状态',
    dataIndex: 'status',
    slotName: 'status',
    width: 120,
  },
  {
    title: '操作',
    dataIndex: 'actions',
    slotName: 'actions',
    width: 240,
    fixed: 'right' as const,
  },
]
