import { IsEnum, IsNotEmpty, IsObject, IsString } from 'class-validator';
import { ReportType } from '../../domain/enums/report-type.enum';

export class GenerateReportDto {
  @IsEnum(ReportType)
  type!: ReportType;

  @IsString()
  @IsNotEmpty()
  title!: string;

  @IsObject()
  params!: Record<string, unknown>;
}
