Files
edr-platform/apps/edr-freight-api/src/modules/companies/dto/reject-change-request.dto.ts

12 lines
341 B
TypeScript

import { ApiProperty } from "@nestjs/swagger";
import { IsString, MaxLength, MinLength } from "class-validator";
export class RejectChangeRequestDto {
/** Why the proposed changes were declined — shown to the customer so they can fix and resubmit. */
@ApiProperty()
@IsString()
@MinLength(1)
@MaxLength(2000)
note!: string;
}