import { ApiProperty } from '@nestjs/swagger' ; import { PrEntity , ReviewerEntity } from '@pimp-my-pr/server/repository/core/domain' ; import { BaseStatisticsReadModel } from '../../read-models/base-statistics.read-model' ; export class ReviewersStatisticsItemReadModel extends BaseStatisticsReadModel { @ ApiProperty ( ) avatarUrl : string ; @ ApiProperty ( ) maxPrsWarning : boolean ; constructor ( userModel , prsModel , maxPrsWarning ? , maxLinesWarning ? , maxWaitingTimeWarning ? ) { super ( userModel , prsModel ) ; this . maxPrsWarning = maxPrsWarning ; this . avatarUrl = userModel . avatarUrl ; this . maxLinesWarning = maxLinesWarning ; this . maxWaitingTimeWarning = maxWaitingTimeWarning ; } }