import { ApiPropertyOptional } from '@nestjs/swagger';
import { IsOptional, IsString } from 'class-validator';

export class RenewContractDto {
  @ApiPropertyOptional({ description: 'Reference of the prior contract being renewed.' })
  @IsOptional()
  @IsString()
  previousContractReference?: string;
}
