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

Method constructor

model/book.model.js:3–11  ·  view source on GitHub ↗
(bookId , title , isbn , description , publisher , author , pages)

Source from the content-addressed store, hash-verified

1exports.Book = class Book {
2
3 constructor(bookId , title , isbn , description , publisher , author , pages){
4 this.bookId = bookId;
5 this.title = title;
6 this.isbn = isbn;
7 this.description = description;
8 this.publisher = publisher;
9 this.author = author;
10 this.pages = pages;
11 }
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected