import { IsNumber, IsOptional, IsString } from 'class-validator';

export class CreateLessonDto {
  @IsNumber()
  courseId: number;

  @IsNumber()
  classId: number;

  @IsOptional()
  @IsString()
  plannedDatetime?: string;
}
