add: top up saldo supplier

This commit is contained in:
ilham
2021-12-12 00:23:13 +07:00
parent 14a00988d9
commit ed5ca6556d
5 changed files with 42 additions and 18 deletions

View File

@@ -1,12 +1,16 @@
import { IsNotEmpty, IsUUID } from 'class-validator';
import { balanceType, coaType, statusTransaction, typeTransaction } from 'src/helper/enum-list';
import {
balanceType,
coaType,
statusTransaction,
typeTransaction,
} from 'src/helper/enum-list';
import { EntityManager } from 'typeorm';
export class AddSaldoSupplier {
@IsNotEmpty()
supplier?: string;
@IsNotEmpty()
supplier: string;
@IsNotEmpty()
amount?: number;
@IsNotEmpty()
amount: number;
}