import { IsString, IsIn, IsOptional, MaxLength } from 'class-validator';

export class RecordTransportPaymentDto {
    @IsString() @IsIn(['cash', 'cheque', 'bank_transfer'])
    paymentMethod: 'cash' | 'cheque' | 'bank_transfer';

    @IsOptional() @IsString() @MaxLength(1000) notes?: string;
}
