export class FileDetailInfo {
  mulId: string; // 唯一ID编号
  objId: string; // 对象编号
  subprojectCode: string; // 子项目编号
  clNo: string; // 多媒体分类编号
  dirNo: string; // 资料目录编号
  flowId: string; // 流程实例编号
  fileName: string; // 文档名称
  fileAlias: string; // 文档别名
  fileType: string; // 文件类型
  fileLocal: string; // 文件位置
  fileSize: number | undefined; // 文件大小
  colUser: string; // 采集人
  colTime: any; // 采集时间
  colLocal: string; // 采集位置
  upUser: string; // 上传人
  upTime: any; // 上传时间
  ckUser: string; // 验真人
  ckTime: any; // 验真时间
  mark: string; // 备注
  dataSource: string; // 信息来源
  useState: string; // 使用状态
  createUser: string; // 创建人
  createTime: any; // 创建日期
  updateUser: string; // 修改人
  updateTime: any; // 最后修改日期
  custNo: string; // 客户号
  fileVersion: string; // 文件版本
  templateGenerationId: string; // 模板生成ID
  templateGeneration: number | undefined; //
  processFileType: string; // 流程文件类型 1初始2comments3定稿4清稿5用印
  beforeFinalizationId: string; // 定稿前的主键
  editModel: string; // 编辑模式（1-生成新文件后编辑  0-原文件编辑）
  serialNo: string; // 系列项目编号
  trdId: string; // 系列项目编号
  constructor(
    options: {
      mulId?: string;
      objId?: string;
      subprojectCode?: string;
      clNo?: string;
      dirNo?: string;
      flowId?: string;
      fileName?: string;
      fileAlias?: string;
      fileType?: string;
      fileLocal?: string;
      fileSize?: number;
      colUser?: string;
      colTime?: any;
      colLocal?: string;
      upUser?: string;
      upTime?: any;
      ckUser?: string;
      ckTime?: any;
      mark?: string;
      dataSource?: string;
      useState?: string;
      createUser?: string;
      createTime?: any;
      updateUser?: string;
      updateTime?: any;
      custNo?: string;
      fileVersion?: string;
      templateGenerationId?: string;
      templateGeneration?: number;
      processFileType?: string;
      beforeFinalizationId?: string;
      editModel?: string;
      serialNo?: string;
      trdId?: string;
    } = {}
  ) {
    this.mulId = options.mulId || "";
    this.objId = options.objId || "";
    this.subprojectCode = options.subprojectCode || "";
    this.clNo = options.clNo || "";
    this.dirNo = options.dirNo || "";
    this.flowId = options.flowId || "";
    this.fileName = options.fileName || "";
    this.fileAlias = options.fileAlias || "";
    this.fileType = options.fileType || "";
    this.fileLocal = options.fileLocal || "";
    this.fileSize = options.fileSize;
    this.colUser = options.colUser || "";
    this.colTime = options.colTime || null;
    this.colLocal = options.colLocal || "";
    this.upUser = options.upUser || "";
    this.upTime = options.upTime || null;
    this.ckUser = options.ckUser || "";
    this.ckTime = options.ckTime || null;
    this.mark = options.mark || "";
    this.dataSource = options.dataSource || "";
    this.useState = options.useState || "";
    this.createUser = options.createUser || "";
    this.createTime = options.createTime || null;
    this.updateUser = options.updateUser || "";
    this.updateTime = options.updateTime || null;
    this.custNo = options.custNo || "";
    this.fileVersion = options.fileVersion || "";
    this.templateGenerationId = options.templateGenerationId || "";
    this.templateGeneration = options.templateGeneration;
    this.processFileType = options.processFileType || "";
    this.beforeFinalizationId = options.beforeFinalizationId || "";
    this.editModel = options.editModel || "";
    this.serialNo = options.serialNo || "";
    this.trdId = options.trdId || "";
  }
}
