import { IsNotEmpty, IsIn, MaxLength, Matches, IsNumber, IsDecimal, IsEnum } from 'class-validator';
import { validationMessages } from '../../../messages/validation-messages';
import { ApiProperty } from '@nestjs/swagger';
import { FAQFor } from 'src/entities/faqs.entity';
import { ProfilePrivacy } from 'src/entities/campaign.entity';
import { DraftType } from 'src/entities/draft_versions.entity';

export class AddDraftsDto
{

  @ApiProperty({ example: "UUID",required: true })
  draft_id:string;

  @ApiProperty({ example: "draft_name", required: true })
  @IsNotEmpty({ message: validationMessages.campaign.draft.draft_name })
  draft_name: number;

  @ApiProperty({ example: "Message"})
  comment: string;

  @ApiProperty({ example: 'image', required: true })
  @IsEnum(DraftType)
  @IsNotEmpty({ message: validationMessages.campaign.draft.type_required })
  type: string;

  thumbnail:string;

}
