src/app/models/rating.model.ts
Model class describing a book's rating information
See: RatingComponent
count |
count: |
Type : number
|
Defined in src/app/models/rating.model.ts:20
|
Number of users who rated this book |
rating |
rating: |
Type : number
|
Defined in src/app/models/rating.model.ts:15
|
Average rating for this book |
skuId |
skuId: |
Type : string
|
Defined in src/app/models/rating.model.ts:10
|
Id of the book |
export class Rating {
/**
* Id of the book
*/
skuId: string;
/**
* Average rating for this book
*/
rating: number;
/**
* Number of users who rated this book
*/
count: number;
}