import { ApiProperty } from '@nestjs/swagger'; import { IsString, MinLength } from 'class-validator'; export class RequestChangesDto { @ApiProperty({ description: 'Staff note explaining what the customer must fix' }) @IsString() @MinLength(1) note!: string; } export class StaffRejectDto { @ApiProperty() @IsString() @MinLength(1) reason!: string; } export class ApproveStepDto { @ApiProperty({ description: 'LINE_STAFF | DIRECTOR | CEO' }) @IsString() requiredRole!: string; } export class RejectStepDto { @ApiProperty() @IsString() @MinLength(1) reason!: string; } export class CancelBookingDto { @ApiProperty() @IsString() @MinLength(1) reason!: string; }