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

export class CreateNotificationDto {
  @IsNotEmpty({ message: 'Content cannot be empty' })
  @IsString()
  content: string;

  @IsNotEmpty({ message: 'Title cannot be empty' })
  @IsString()
  title: string;

  @IsOptional()
  image?: string;
}
