feat: implement bank accounts, branches, and banks modules with CRUD operations
- Added BankAccountsController, BankAccountsService, and related DTOs for managing bank accounts. - Implemented BankBranchesController, BankBranchesService, and related DTOs for managing bank branches. - Created BanksController and BanksService for retrieving bank information. - Integrated Prisma for database operations across all modules. - Added response mapping for consistent API responses.
This commit is contained in:
@@ -47,6 +47,91 @@ export type User = Prisma.UserModel
|
||||
*
|
||||
*/
|
||||
export type Role = Prisma.RoleModel
|
||||
/**
|
||||
* Model OtpCode
|
||||
*
|
||||
*/
|
||||
export type OtpCode = Prisma.OtpCodeModel
|
||||
/**
|
||||
* Model RefreshToken
|
||||
*
|
||||
*/
|
||||
export type RefreshToken = Prisma.RefreshTokenModel
|
||||
/**
|
||||
* Model BankBranch
|
||||
*
|
||||
*/
|
||||
export type BankBranch = Prisma.BankBranchModel
|
||||
/**
|
||||
* Model BankAccount
|
||||
*
|
||||
*/
|
||||
export type BankAccount = Prisma.BankAccountModel
|
||||
/**
|
||||
* Model Inventory
|
||||
*
|
||||
*/
|
||||
export type Inventory = Prisma.InventoryModel
|
||||
/**
|
||||
* Model InventoryTransfer
|
||||
*
|
||||
*/
|
||||
export type InventoryTransfer = Prisma.InventoryTransferModel
|
||||
/**
|
||||
* Model InventoryTransferItem
|
||||
*
|
||||
*/
|
||||
export type InventoryTransferItem = Prisma.InventoryTransferItemModel
|
||||
/**
|
||||
* Model InventoryBankAccount
|
||||
*
|
||||
*/
|
||||
export type InventoryBankAccount = Prisma.InventoryBankAccountModel
|
||||
/**
|
||||
* Model PosAccount
|
||||
*
|
||||
*/
|
||||
export type PosAccount = Prisma.PosAccountModel
|
||||
/**
|
||||
* Model Bank
|
||||
*
|
||||
*/
|
||||
export type Bank = Prisma.BankModel
|
||||
/**
|
||||
* Model Supplier
|
||||
*
|
||||
*/
|
||||
export type Supplier = Prisma.SupplierModel
|
||||
/**
|
||||
* Model SupplierLedger
|
||||
*
|
||||
*/
|
||||
export type SupplierLedger = Prisma.SupplierLedgerModel
|
||||
/**
|
||||
* Model Customer
|
||||
*
|
||||
*/
|
||||
export type Customer = Prisma.CustomerModel
|
||||
/**
|
||||
* Model Order
|
||||
*
|
||||
*/
|
||||
export type Order = Prisma.OrderModel
|
||||
/**
|
||||
* Model SalesInvoice
|
||||
*
|
||||
*/
|
||||
export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
/**
|
||||
* Model SalesInvoiceItem
|
||||
*
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
*/
|
||||
export type TriggerLog = Prisma.TriggerLogModel
|
||||
/**
|
||||
* Model ProductVariant
|
||||
*
|
||||
@@ -67,36 +152,6 @@ export type ProductBrand = Prisma.ProductBrandModel
|
||||
*
|
||||
*/
|
||||
export type ProductCategory = Prisma.ProductCategoryModel
|
||||
/**
|
||||
* Model Supplier
|
||||
*
|
||||
*/
|
||||
export type Supplier = Prisma.SupplierModel
|
||||
/**
|
||||
* Model Customer
|
||||
*
|
||||
*/
|
||||
export type Customer = Prisma.CustomerModel
|
||||
/**
|
||||
* Model Inventory
|
||||
*
|
||||
*/
|
||||
export type Inventory = Prisma.InventoryModel
|
||||
/**
|
||||
* Model Store
|
||||
*
|
||||
*/
|
||||
export type Store = Prisma.StoreModel
|
||||
/**
|
||||
* Model ProductCharge
|
||||
*
|
||||
*/
|
||||
export type ProductCharge = Prisma.ProductChargeModel
|
||||
/**
|
||||
* Model Order
|
||||
*
|
||||
*/
|
||||
export type Order = Prisma.OrderModel
|
||||
/**
|
||||
* Model PurchaseReceipt
|
||||
*
|
||||
@@ -108,15 +163,10 @@ export type PurchaseReceipt = Prisma.PurchaseReceiptModel
|
||||
*/
|
||||
export type PurchaseReceiptItem = Prisma.PurchaseReceiptItemModel
|
||||
/**
|
||||
* Model SalesInvoice
|
||||
* Model PurchaseReceiptPayments
|
||||
*
|
||||
*/
|
||||
export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
/**
|
||||
* Model SalesInvoiceItem
|
||||
*
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
export type PurchaseReceiptPayments = Prisma.PurchaseReceiptPaymentsModel
|
||||
/**
|
||||
* Model StockMovement
|
||||
*
|
||||
@@ -127,48 +177,8 @@ export type StockMovement = Prisma.StockMovementModel
|
||||
*
|
||||
*/
|
||||
export type StockBalance = Prisma.StockBalanceModel
|
||||
/**
|
||||
* Model OtpCode
|
||||
*
|
||||
*/
|
||||
export type OtpCode = Prisma.OtpCodeModel
|
||||
/**
|
||||
* Model RefreshToken
|
||||
*
|
||||
*/
|
||||
export type RefreshToken = Prisma.RefreshTokenModel
|
||||
/**
|
||||
* Model InventoryTransfer
|
||||
*
|
||||
*/
|
||||
export type InventoryTransfer = Prisma.InventoryTransferModel
|
||||
/**
|
||||
* Model InventoryTransferItem
|
||||
*
|
||||
*/
|
||||
export type InventoryTransferItem = Prisma.InventoryTransferItemModel
|
||||
/**
|
||||
* Model StockAdjustment
|
||||
*
|
||||
*/
|
||||
export type StockAdjustment = Prisma.StockAdjustmentModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
*/
|
||||
export type TriggerLog = Prisma.TriggerLogModel
|
||||
/**
|
||||
* Model inventory_overview
|
||||
*
|
||||
*/
|
||||
export type inventory_overview = Prisma.inventory_overviewModel
|
||||
/**
|
||||
* Model stock_cardex
|
||||
*
|
||||
*/
|
||||
export type stock_cardex = Prisma.stock_cardexModel
|
||||
/**
|
||||
* Model stock_view
|
||||
*
|
||||
*/
|
||||
export type stock_view = Prisma.stock_viewModel
|
||||
|
||||
Reference in New Issue
Block a user