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

export class CreateSeekerCertificationDto {
  @ApiProperty({ required: false })
  @IsNumber()
  @IsOptional()
  certification_id?: number;

  @ApiProperty()
  @IsString()
  certification_name: string;

  @ApiProperty({ required: false })
  @IsString()
  @IsOptional()
  certification_provider?: string;

  @ApiProperty({ required: false })
  @IsOptional()
  issue_date?: string;

  @ApiProperty({ required: false })
  @IsOptional()
  expiry_date?: string;
}
