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

export class SetAwardDto {
  @IsString()
  @IsIn(['first', 'second', 'third', 'excellent', 'none'])
  awardLevel: string;

  @IsString()
  @IsOptional()
  awardName?: string;

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