import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IsInt, Min } from 'class-validator';

export class UpdateProgressReportIssueStatusDto {
  @ApiProperty({
    example: 4,
    description: 'Issue status ID for IN_PROGRESS, SOLVED, or NOT_ADDRESSED.',
  })
  @Type(() => Number)
  @IsInt()
  @Min(1)
  issueStatusId!: number;
}
