mirrored_repositories/ounotes/lib
import 'package:FSOUNotes/enums/enums.dart';

abstract class AbstractDocument {
  String id;
  bool isDownloaded = false;
  Document path;
  String subjectName;
  int subjectId;
  String title;
  String url;
  int pages;
  String size;
  String type;
  String uploader_id;
  String GDriveLink;
  DateTime uploadDate;
  

  set setDate(DateTime setDate) {}
  set setSize(String size);
  set setUrl(String url) ;
  set setPages(int value) => this.pages = value;

  set setId(String id) {
    this.id = id;
  }
  set setSubjectId(int id) {
    this.subjectId = id;
  }

  set setUploaderId(String id) {
    this.uploader_id = id;
  }

  set setPath(Document path);
  set setIsDownloaded(bool id) {
    this.isDownloaded = id;
  }

  set setTitle(String value);

  Map<String, dynamic> toJson();
}
