huridocs/uwazi

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
export class BaseFile {
  readonly id: string;

  readonly entity: string;

  readonly totalPages: number;

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