fix : min Product varient price decrased to 1000
This commit is contained in:
@@ -58,7 +58,7 @@ export class AddVariantDTO {
|
|||||||
|
|
||||||
@Expose()
|
@Expose()
|
||||||
@IsNotEmpty()
|
@IsNotEmpty()
|
||||||
@Min(10000, { message: "حداقل قیمت برای کالا ۱۰۰۰۰ تومان می باشد " })
|
@Min(1000, { message: "حداقل قیمت برای کالا ۱۰۰۰۰ تومان می باشد " })
|
||||||
@IsNumber()
|
@IsNumber()
|
||||||
@ApiProperty({ type: "number", description: "the price of product in toman", example: 5432510 })
|
@ApiProperty({ type: "number", description: "the price of product in toman", example: 5432510 })
|
||||||
retail_price: number;
|
retail_price: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user