import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsNumber, isNumber } from 'class-validator';
import { UpdateDto } from 'src/common/dto/update.dto';
import { CreateOnlineCourseDto } from './create-online-course.dto';

export class UpdateOnlineCourseDto extends CreateOnlineCourseDto {}
export class updateCourseStatuDto {
  @ApiProperty({ description: '课程状态' })
  @IsNotEmpty({ message: '课程状态不能为空' })
  status: number;
}
