import { BasicColumn } from '@/components/Table';

export function getHistoryColumns(): BasicColumn[] {
  return [
    {
      title: 'id',
      dataIndex: 'id',
      ifShow: false,
    },
    {
      title: 'schemeInfoId',
      dataIndex: 'schemeInfoId',
      ifShow: false,
    },
    {
      title: 'scheme',
      dataIndex: 'scheme',
      ifShow: false,
    },
    {
      title: 'createUserId',
      dataIndex: 'createUserId',
      ifShow: false,
    },
    {
      title: '创建人',
      width: 150,
      dataIndex: 'createUserName',
    },
    {
      title: '创建时间',
      width: 150,
      dataIndex: 'createDate',
    },
    {
      title: 'tenantId',
      dataIndex: 'tenantId',
      ifShow: false,
    },
    {
      title: '状态',
      dataIndex: 'type',
      width: 80,
    },
    {
      title: '当前版本',
      dataIndex: 'currentVersion',
      width: 80,
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: 80,
    },
  ];
}
