import { ApiProperty } from '@nestjs/swagger';
import { IsString, MaxLength, MinLength } from 'class-validator';

export class RejectShopDto {
  @ApiProperty({
    example: 'Missing GST details. Please update GST number and resubmit.',
    description: 'Reason for rejecting the shop (shown to the shop owner).',
  })
  @IsString()
  @MinLength(3)
  @MaxLength(500)
  reason!: string;
}
