import { ApiProperty } from '@nestjs/swagger';
import { IsIn } from 'class-validator';

export class MoveOrderDto {
  @ApiProperty({ enum: ['up', 'down'] })
  @IsIn(['up', 'down'])
  direction!: 'up' | 'down';
}
