import { PageQueryParam } from "@/types/api/base";

/**
 * 文件管理查询
 */
export interface FileModelQueryParam extends PageQueryParam {
  filetypecode?: string;
  uploadman?: string;
  filename?: string;
}

/**
 * 文件model
 */
export interface FileModel {
  id: number;
  filename: string;
  version: string;
  filepath: string;
  uploadtime: string;
  uploadman: string;
  uploadsize: number;
  uploadpass: string;
  filetypecode: string;
  filetypename: string;
  fileinfo: string;
}

/**
 * 文件组model
 */
export interface FileTypeModel {
  id: number;
  filetypecode: string;
  parentcode: string;
  name: string;
}
