diff --git a/src/modules/product/DTO/addVariant.dto.ts b/src/modules/product/DTO/addVariant.dto.ts index a94abbe..81f9d9d 100644 --- a/src/modules/product/DTO/addVariant.dto.ts +++ b/src/modules/product/DTO/addVariant.dto.ts @@ -58,7 +58,7 @@ export class AddVariantDTO { @Expose() @IsNotEmpty() - @Min(10000, { message: "حداقل قیمت برای کالا ۱۰۰۰۰ تومان می باشد " }) + @Min(1000, { message: "حداقل قیمت برای کالا ۱۰۰۰۰ تومان می باشد " }) @IsNumber() @ApiProperty({ type: "number", description: "the price of product in toman", example: 5432510 }) retail_price: number;