huridocs/uwazi

View on GitHub
app/api/files.v2/model/CustomUpload.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { BaseFile } from './BaseFile';

export class CustomUpload extends BaseFile {
  readonly filename: string;

  constructor(id: string, entity: string, totalPages: number, filename: string) {
    super(id, entity, totalPages);
    this.filename = filename;
  }
}