add: top up saldo supplier
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user