summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diff_notes/models/note.js.es6
blob: e3bce1d2038e8895e374a3ceb4085967ac002b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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;
  }
}