import { column } from "@/types/column"
const columns:Array<column>=
[
  {
    title:'发布时间',
    align:'center',
    dataIndex:'time',
    scopedSlots: { customRender: 'time' },
  },
  {
    title:'消息标题',
    align:'center',
    dataIndex:'title'
  }, 
  {
    title:'消息内容',
    align:'center',
    key:'content',
    scopedSlots: { customRender: 'content' },
  },
  {
    title:'显示类型',
    align:'center',
    dataIndex:'type',
    scopedSlots: { customRender: 'type' },
  },
  {
    title:'状态',
    align:'center',
    dataIndex:'state',
    scopedSlots: { customRender: 'status' },
  },
  {
    title:'操作',
    align:'center',
    key:'action',
    scopedSlots: { customRender: 'action' },
  },   
]

export {
  columns
}