import { BasicFetchResult } from '@/api/model/baseModel';

export interface AccountListItem {
  databaseLinkId: string;
  dbName: string;
  dbAlias: string;
  dbType: number;
  serverAddress: string;
  dbConnection: string;
  description: string;
  scheme: string;
  formScheme: string;
  id: string;
}
/**
 * @description: Request list return value
 */
export interface AccountParams {
  id?: string;
  keyword?: string;
  page?: string;
  limit?: string;
  code?: any;
  rows?: string;
  mid?: string;
}
export interface SaveFormsParams {
  schemeId?: string;
  isUpdate?: any;
  data?: any;
  pkey?: string;
  pkeyValue?: any;
}
export interface DeleteFormsParams {
  id?: string;
  key?: string;
  keyValue?: any;
}
export interface getFormsParams {
  id?: string;
  key?: string;
  keyValue?: any;
}

export type AccountListGetResultModel = BasicFetchResult<AccountListItem>;
