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