- fix order-prod and order-stg if suppliers have same code product

This commit is contained in:
Fadli
2022-09-07 16:36:24 +07:00
parent 399c6ff9e4
commit 6d9ce6f8ec
3 changed files with 11 additions and 34 deletions

View File

@@ -1,6 +1,10 @@
import { IsNotEmpty, IsOptional } from 'class-validator';
export class OrderTransactionDto {
@IsNotEmpty()
productId: string;
@IsNotEmpty()
productCode: string;