import { column } from '@/types/column'
const columns: Array<column> = [
  {
    title: '操作时间',
    align: 'center',
    dataIndex: 'update_at',
    scopedSlots: { customRender: 'update_at' },
  },
  {
    title: 'banner名称',
    align: 'center',
    dataIndex: 'title',
  },
  {
    title: 'banner位置',
    align: 'center',
    dataIndex: 'location',
    scopedSlots: { customRender: 'location' },
  },
  {
    title: '图片',
    align: 'center',
    dataIndex: 'file_name',
    scopedSlots: { customRender: 'file_name' },
  },
  {
    title: '状态',
    align: 'center',
    dataIndex: 'banner_status',
    scopedSlots: { customRender: 'banner_status' },
  },
  {
    title: '操作',
    align: 'center',
    key: 'action',
    scopedSlots: { customRender: 'action' },
  },
]

export { columns }
