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

export class CreateContractCoverageDto {
  @ApiProperty({ description: "Name of the contract coverage" })
  @IsNotEmpty()
  @IsString()
  name: string

  @ApiProperty({ description: "Description of the contract coverage" })
  @IsOptional()
  @IsString()
  description: string
}
