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

export const columns: BasicColumn[] = [
  {
    title: '序号',
    dataIndex: 'serialNumber',
  },
  {
    title: '设施类型',
    dataIndex: 'facilityType',
  },
  {
    title: '数量',
    dataIndex: 'countNum',
  },
  {
    title: '详细位置',
    dataIndex: 'detailedLocation',
  },
  {
    title: '期限',
    dataIndex: 'term',
  },
  {
    title: '价格',
    dataIndex: 'price',
  },
  {
    title: '现状描述',
    dataIndex: 'currentStatusDescription',
  },
  {
    title: '权属人',
    dataIndex: 'owner',
  },
  {
    title: '联系电话',
    dataIndex: 'contactNumber',
  },
  {
    title: '备注',
    dataIndex: 'remarks',
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'key',
    label: '序号',
    component: 'Input',
    colProps: { span: 8 },
  },
];
