import { ApiProperty } from '@nestjs/swagger';
import { IsArray, IsNotEmpty, IsNumber } from 'class-validator';

export class SearchCollegeCampusCoursesDto {
  @ApiProperty()
  @IsNotEmpty()
  @IsNumber()
  institute_id: number;

  @ApiProperty()
  @IsNotEmpty()
  @IsArray()
  campuses: number[];

  @ApiProperty()
  @IsNotEmpty()
  @IsArray()
  study_levels: number[];
}
