import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
import { FormTemplateConfig } from '/@/model/generator/generatorConfig';

export interface PageListParams {
  keyword?: string; //关键字
}

export type PageListSearchModel = BasicPageParams & PageListParams;

export interface FormTemplateModel {
  id: string;
  code: string; //模板编号
  name: string; //模板名称
  source: number; //模板来源
  createUserName: string; //创建用户
  createDate: string; //创建时间
  remark: string; //备注
  backgroundUrl?: string;
}

export type FormTemplatePageModel = BasicFetchResult<FormTemplateModel>;

export interface ParamsModel {
  id?: string; //关键字
}

export type FormTemplateParamsModel = FormTemplateConfig & ParamsModel;
