summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diff_notes/models/note.js.es6
blob: f3a7cba5ef6bb331a14d595a9475971435c2ad4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* eslint-disable camelcase, no-unused-vars */

class NoteModel {
  constructor(discussionId, noteId, canResolve, resolved, resolved_by) {
    this.discussionId = discussionId;
    this.id = noteId;
    this.canResolve = canResolve;
    this.resolved = resolved;
    this.resolved_by = resolved_by;
  }
}

window.NoteModel = NoteModel;