File

src/app/models/rating.model.ts

Description

Model class describing a book's rating information

See: RatingComponent

Properties

count
count: number
Type : number

Number of users who rated this book

rating
rating: number
Type : number

Average rating for this book

skuId
skuId: string
Type : string

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;
}

results matching ""

    No results matching ""