import { IsNotEmpty, IsString, IsUUID, MaxLength } from 'class-validator';

/**
 * Body for POST /hotels/placeholder (find-or-create by typed name).
 *
 * Separate from CreateHotelDto because the Quote/Booking auto-create
 * only needs name + destination — address / contact_person / short_code
 * are auto-derived in the service.
 */
export class PlaceholderHotelDto {
  @IsString()
  @IsNotEmpty()
  @MaxLength(255)
  name: string;

  @IsUUID()
  destination_id: string;
}
