import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsOptional, IsString, IsNumber, IsBoolean } from 'class-validator';

export class CreateSeekerEducationDto {
  @ApiPropertyOptional()
  @IsOptional()
  @IsNumber()
  education_id?: number;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  level_of_education?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  examination_board?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  medium_of_study?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  grading_system?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  marks?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  degree?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  specialization?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  institute_name?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  education_type?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  start_month?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsNumber()
  start_year?: number;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  end_month?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsNumber()
  end_year?: number;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  notes?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsBoolean()
  current?: boolean;
}
