feat: implement receipt alias functionality with CRUD operations and integrate with receipt import
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { IsInt, IsString, MinLength } from 'class-validator';
|
||||
|
||||
export class CreateReceiptAliasDto {
|
||||
@IsString()
|
||||
@MinLength(1)
|
||||
receiptName!: string;
|
||||
|
||||
@IsInt()
|
||||
productId!: number;
|
||||
}
|
||||
Reference in New Issue
Block a user