src/app/book/book-data/models/book.model.ts
Properties |
Methods |
|
constructor(id: number, isbn: string, title?: string, author?: string, genre?: string, summary?: string, description?: string, released?: Date, cover?: literal type, authors?: literal type[])
|
Public Optional author |
Type : string
|
Public Optional authors |
Type : literal type[]
|
Public Optional cover |
Type : literal type
|
Public Optional description |
Type : string
|
Public Optional genre |
Type : string
|
Public id |
Type : number
|
Public isbn |
Type : string
|
Public Optional released |
Type : Date
|
Public Optional summary |
Type : string
|
Public Optional title |
Type : string
|
Static fromJson | ||||||
fromJson(json: Partial
|
||||||
Parameters :
Returns :
Book
|