// 代码生成业务
export interface GenTable {
  tableId?: string
  tableName?: string
  tableComment?: string
  subTableName?: string
  subTableFkName?: string
  className?: string
  tplCategory?: string
  packageName?: string
  moduleName?: string
  businessName?: string
  functionName?: string
  functionAuthor?: string
  genType?: string
  genPath?: string
  options?: string
  tplWebType?: string
  [key: string]: any;
}

export interface DbTableInfo {
  tableName: string
  tableComment: string
  createTime: string
  updateTime: string
}

export interface GenTableQuery {
  pageNum?: number
  pageSize?: number
  tableName?: string
  tableComment?: string
  beginTime?: string
  endTime?: string
}

export interface ImportTableParams {
  tables: string
}

export interface CreateTableParams {
  tableName: string
  tableComment: string
  // 其他创建表需要的参数
}

export interface PreviewResult {
  [key: string]: string
}

export interface SelectionItem {
  tableName: string
  tableComment: string
  createTime: string
  updateTime: string
}
