Files
edr-platform/apps/edr-freight-api/src/modules/cargoes/dto/deliver-cargo.dto.ts
Hagernesh f528b75737 Warehouse
2026-06-17 12:44:57 +00:00

17 lines
427 B
TypeScript

import { IsDateString, IsOptional, IsString } from 'class-validator';
export class DeliverCargoDto {
/** Name of the person who received / picked up the cargo (Proof of Delivery). */
@IsOptional()
@IsString()
receiverName?: string;
/** When the cargo was picked up / delivered. Defaults to now. */
@IsOptional()
@IsDateString()
pickupDate?: string;
@IsOptional()
@IsString()
deliveryRemarks?: string;
}