mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
refactor(nestjs): bank transactions matching
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import { Knex } from 'knex';
|
||||
import { IEditWarehouseDTO, IWarehouse } from '../Warehouse.types';
|
||||
import { WarehouseValidator } from './WarehouseValidator.service';
|
||||
import { UnitOfWork } from '@/modules/Tenancy/TenancyDB/UnitOfWork.service';
|
||||
import { EventEmitter2 } from '@nestjs/event-emitter';
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
import { ToNumber } from '@/common/decorators/Validators';
|
||||
import { IsInt, IsOptional, IsString } from 'class-validator';
|
||||
|
||||
export class GetWarehouseTransfersQueryDto {
|
||||
@IsInt()
|
||||
@ToNumber()
|
||||
@IsOptional()
|
||||
page: number;
|
||||
|
||||
@IsInt()
|
||||
@ToNumber()
|
||||
@IsOptional()
|
||||
pageSize: number;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
searchKeyword: string;
|
||||
}
|
||||
Reference in New Issue
Block a user