import { IsNumber, IsOptional, Min } from 'class-validator';

export class AutoSetAwardsDto {
  @IsNumber()
  @IsOptional()
  @Min(0)
  first?: number;

  @IsNumber()
  @IsOptional()
  @Min(0)
  second?: number;

  @IsNumber()
  @IsOptional()
  @Min(0)
  third?: number;

  @IsNumber()
  @IsOptional()
  @Min(0)
  excellent?: number;
}
