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

export const columns: BasicColumn[] = [
  {
    title: 'Shp原始字段',
    dataIndex: 'shpField',
    width: 150,
  },
  {
    title: '数据类型',
    helpMessage: ['必选项'],
    dataIndex: 'type',
    width: 150,
  },
  {
    title: '数据长度',
    dataIndex: 'length',
    width: 150,
  },
  {
    title: '英文名称',
    helpMessage: ['1.使用小写字母、数字、下划线的组合，且不得以数字开头', '2.英文名称不能重复'],
    dataIndex: 'enName',
    width: 150,
  },
  {
    title: '中文名称',
    helpMessage: ['备注'],
    dataIndex: 'chName',
    width: 150,
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: 100,
  },
];

export const columns_isDetail: BasicColumn[] = [
  {
    title: 'Shp原始字段',
    dataIndex: 'shpField',
    width: 150,
  },
  {
    title: '数据类型',
    dataIndex: 'type',
    width: 150,
  },
  {
    title: '数据长度',
    dataIndex: 'length',
    width: 100,
  },
  {
    title: '英文名称',
    dataIndex: 'enName',
    width: 150,
  },
  {
    title: '中文名称',
    dataIndex: 'chName',
    width: 150,
  },
];
