Files
scheduler-back/src/modules/schedule/dto/list/list-request.dto.ts
geonhee-min d580f53775
All checks were successful
Test CI / build (push) Successful in 1m17s
issue #63
- 일정 생성, 목록 조회, 당일 목록 조회 기능 구현
2025-12-11 17:04:19 +09:00

24 lines
392 B
TypeScript

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;
}