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

export class CompleteOrderDto {
  @IsOptional() @IsString() clientSignature?: string;
  @IsOptional() @IsString() notes?: string;
  @IsOptional() @IsNumber() value?: number;
  @IsOptional() @IsInt() @Min(1) @Max(12) recurrenceMonths?: number;
  @IsOptional() @IsInt() @Min(1) @Max(5) rating?: number;
}
