import { ApiProperty } from '@nestjs/swagger';
import { IsEmail, IsString } from 'class-validator';

export class SendMessageResultDTO {}

export class SendMessageDTO {
  @ApiProperty({})
  @IsEmail()
  email: string;

  @ApiProperty({})
  @IsString()
  username: string;

  @ApiProperty({})
  @IsString()
  subject: string;

  @ApiProperty({})
  @IsString()
  text: string;
}
