MCPcopy Create free account
hub / github.com/ahmedemad3/nodejs-apps / constructor

Method constructor

model/note.model.js:3–9  ·  view source on GitHub ↗
(noteId , title , content , createdBy , createdOn)

Source from the content-addressed store, hash-verified

1exports.Note = class Note {
2
3 constructor(noteId , title , content , createdBy , createdOn){
4 this.noteId = noteId;
5 this.title = title;
6 this.content = content;
7 this.createdBy = createdBy;
8 this.createdOn = createdOn;
9 }
10}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected