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

export enum RegistrationState {
  PENDING = 'pending',
  PASSED = 'passed',
  REJECTED = 'rejected',
  WITHDRAWN = 'withdrawn',
}

export class ReviewRegistrationDto {
  @IsEnum(RegistrationState)
  registrationState: RegistrationState;

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

