import { IsString, IsOptional, IsEmail } from 'class-validator';

export class CreateDocumentDto {
  @IsString()
  title: string;

  @IsString()
  @IsOptional()
  content?: string;

  @IsEmail()
  @IsOptional()
  clientEmail?: string;

  file: Express.Multer.File;
}
