import { ApiProperty } from "@nestjs/swagger"
import { IsNotEmpty, IsString } from "class-validator"

export class CreateBusinessVerticalDto {
  @ApiProperty({
    description: "The name of the business vertical",
    example: "Transport",
  })
  @IsString({ message: "Business vertical name must be a string." })
  @IsNotEmpty({ message: "Business vertical name cannot be empty." })
  name: string
}
