import { ApiProperty } from '@nestjs/swagger';
import { IsEnum, IsNotEmpty } from 'class-validator';
import { PagerStatus } from '../interface/pager';

export class UpdatePagerStatusDto {
  @ApiProperty({ description: 'Status of the pager', enum: PagerStatus })
  @IsEnum(PagerStatus)
  @IsNotEmpty()
  status!: PagerStatus;
}
