import { column } from "@/types/column" 
const columns:Array<column>=[
  {
    title: '操作时间',
    align:'center',
    dataIndex: 'updated_at',
    scopedSlots: { customRender: 'updated_at' },
  },
  {
    title: '资讯标题',
    align:'center',
    dataIndex: 'title',
  },
  {
    title: '资讯分类',
    align:'center',
    dataIndex: 'article_type',
    scopedSlots: { customRender: 'type' },
  },
  {
    title: '作者名称',
    align:'center',
    dataIndex: 'writer',
  },
  {
    title: '资讯内容',
    align:'center',
    dataIndex: 'content',
    scopedSlots: { customRender: 'content' },
  },
  {
    title: '状态',
    align:'center',
    dataIndex: 'article_status',
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '操作',
    align:'center',
    dataIndex: 'action',
    scopedSlots: { customRender: 'action' },
  }
]

export{
  columns
}