import { IsNumber, IsOptional, Min } from 'class-validator';

export class CreateInvoiceOrderDto {
    // Payment amount in INR (whole rupees). When omitted, the service uses
    // the remaining balance. Floats accepted; backend rounds to paise.
    @IsOptional()
    @IsNumber()
    @Min(1)
    amount?: number;
}
