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

export class CreateVehicleStatusDto {
  @ApiProperty({ description: "Name of the vehicle status" })
  @IsNotEmpty()
  @IsString()
  name: string

  @ApiProperty({ description: "Description of the vehicle status" })
  @IsOptional()
  @IsString()
  description: string

  @ApiProperty({ description: "Color code of the vehicle status" })
  @IsOptional()
  @IsString()
  color_code: string

  @ApiProperty({ description: "Color name of the vehicle status" })
  @IsOptional()
  @IsString()
  color_name: string

  @ApiProperty({ description: "Color description of the vehicle status" })
  @IsOptional()
  @IsString()
  color_description: string
}
