import { IsArray, IsDateString, IsString } from '@nestjs/class-validator';

export class CreateRequestDto {
  @IsString()
  name: string;

  @IsDateString()
  startDate: string;

  @IsDateString()
  endDate: string;

  @IsString()
  content: string;

  @IsString()
  type: string;

  @IsString()
  style: string;

  @IsString()
  startTime: string;

  @IsString()
  endTime: string;

  @IsString()
  dayList: string;

  @IsArray()
  participantList: string[];
}