import { column } from '@/types/column'
const columns: Array<column> = [
  {
    title: '发布时间',
    align: 'center',
    dataIndex: 'created_at',
    scopedSlots: { customRender: 'created_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 }
