fix : min Product varient price decrased to 1000

This commit is contained in:
morteza-mortezai
2025-10-26 16:57:53 +03:30
parent e469a2eadd
commit 9af567c91a
+1 -1
View File
@@ -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;