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

// 图形化建表table
export const graphicaltableColumns: BasicColumn[] = [
  {
    title: '表名',
    dataIndex: 'tableName',
    width: 200,
  },
  {
    title: '类型',
    dataIndex: 'type',
    width: 200,
  },
  {
    title: '行数据',
    dataIndex: 'columnJson',
    ifShow: false,
  },
  {
    title: '创建人',
    dataIndex: 'createUser',
    width: 200,
  },
];
// 图形化建表-搜索
export const searchFormSchema: FormSchema[] = [
  {
    field: 'keyword',
    label: '名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
