import { ApiPropertyOptional } from '@nestjs/swagger';
import { IsMongoId, IsOptional } from 'class-validator';

export class AssignSupportTicketDto {
  @ApiPropertyOptional({ description: 'Admin user id. Omit or null to unassign.' })
  @IsOptional()
  @IsMongoId()
  adminId?: string | null;
}
