import type { FormSchema } from '@/types/form';

export const columns = [
  {
    label: '用户名',
    field: 'username',
    align: 'center',
  },
  {
    label: '模型名称',
    field: 'model',
    align: 'center',
  },
  {
    label: 'Tokens',
    field: 'tokens',
    align: 'center',
  },
  {
    label: 'Prompt Tokens',
    field: 'promptTokens',
    align: 'center',
  },
  {
    label: 'Prompt Tokens',
    field: 'promptTokens',
    align: 'center',
  },
  {
    label: 'IP地址',
    field: 'ip',
    align: 'center',
  },
  {
    label: '调用时间',
    field: 'createTime',
    align: 'center',
    width: 180,
  },
];

export const searchSchemas: FormSchema[] = [
  {
    field: 'name',
    component: 'Input',
    label: '用户名',
    componentProps: {
      placeholder: '请输入用户名查询'
    },
    colProps: {
      span: 6
    }
  },
  
  
]
