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

export class ListRequestDto {
  @IsDateString()
  date?: string;

  @IsDateString()
  startDate?: string;
  
  @IsDateString()
  endDate?: string;

  @IsArray()
  styleList?: string[];
  
  @IsArray()
  typeList?: string[];

  @IsString()
  status?: 'yet' | 'completed' | undefined;

  @IsString()
  name?: string;
}