huridocs/uwazi

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

Summary

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

export class URLAttachment extends BaseFile {
  readonly url: string;

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