init
This commit is contained in:
+10
-135
@@ -27,8 +27,8 @@ export * from "./enums.js"
|
||||
* @example
|
||||
* ```
|
||||
* const prisma = new PrismaClient()
|
||||
* // Fetch zero or more Users
|
||||
* const users = await prisma.user.findMany()
|
||||
* // Fetch zero or more Goods
|
||||
* const goods = await prisma.good.findMany()
|
||||
* ```
|
||||
*
|
||||
* Read more in our [docs](https://pris.ly/d/client).
|
||||
@@ -38,80 +38,15 @@ export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts exten
|
||||
export { Prisma }
|
||||
|
||||
/**
|
||||
* Model User
|
||||
* Model Good
|
||||
*
|
||||
*/
|
||||
export type User = Prisma.UserModel
|
||||
export type Good = Prisma.GoodModel
|
||||
/**
|
||||
* Model Role
|
||||
* Model GoodCategory
|
||||
*
|
||||
*/
|
||||
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 BankAccountTransaction
|
||||
*
|
||||
*/
|
||||
export type BankAccountTransaction = Prisma.BankAccountTransactionModel
|
||||
/**
|
||||
* Model Inventory
|
||||
*
|
||||
*/
|
||||
export type Inventory = Prisma.InventoryModel
|
||||
/**
|
||||
* Model InventoryBankAccount
|
||||
*
|
||||
*/
|
||||
export type InventoryBankAccount = Prisma.InventoryBankAccountModel
|
||||
/**
|
||||
* Model PosAccount
|
||||
*
|
||||
*/
|
||||
export type PosAccount = Prisma.PosAccountModel
|
||||
/**
|
||||
* Model InventoryTransfer
|
||||
*
|
||||
*/
|
||||
export type InventoryTransfer = Prisma.InventoryTransferModel
|
||||
/**
|
||||
* Model InventoryTransferItem
|
||||
*
|
||||
*/
|
||||
export type InventoryTransferItem = Prisma.InventoryTransferItemModel
|
||||
/**
|
||||
* Model Bank
|
||||
*
|
||||
*/
|
||||
export type Bank = Prisma.BankModel
|
||||
/**
|
||||
* Model Order
|
||||
*
|
||||
*/
|
||||
export type Order = Prisma.OrderModel
|
||||
/**
|
||||
* Model OrderItem
|
||||
*
|
||||
*/
|
||||
export type OrderItem = Prisma.OrderItemModel
|
||||
export type GoodCategory = Prisma.GoodCategoryModel
|
||||
/**
|
||||
* Model Customer
|
||||
*
|
||||
@@ -122,41 +57,6 @@ export type Customer = Prisma.CustomerModel
|
||||
*
|
||||
*/
|
||||
export type TriggerLog = Prisma.TriggerLogModel
|
||||
/**
|
||||
* Model ProductVariant
|
||||
*
|
||||
*/
|
||||
export type ProductVariant = Prisma.ProductVariantModel
|
||||
/**
|
||||
* Model Product
|
||||
*
|
||||
*/
|
||||
export type Product = Prisma.ProductModel
|
||||
/**
|
||||
* Model ProductBrand
|
||||
*
|
||||
*/
|
||||
export type ProductBrand = Prisma.ProductBrandModel
|
||||
/**
|
||||
* Model ProductCategory
|
||||
*
|
||||
*/
|
||||
export type ProductCategory = Prisma.ProductCategoryModel
|
||||
/**
|
||||
* Model PurchaseReceipt
|
||||
*
|
||||
*/
|
||||
export type PurchaseReceipt = Prisma.PurchaseReceiptModel
|
||||
/**
|
||||
* Model PurchaseReceiptItem
|
||||
*
|
||||
*/
|
||||
export type PurchaseReceiptItem = Prisma.PurchaseReceiptItemModel
|
||||
/**
|
||||
* Model PurchaseReceiptPayments
|
||||
*
|
||||
*/
|
||||
export type PurchaseReceiptPayments = Prisma.PurchaseReceiptPaymentsModel
|
||||
/**
|
||||
* Model SalesInvoice
|
||||
*
|
||||
@@ -173,37 +73,12 @@ export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
*/
|
||||
export type SalesInvoicePayment = Prisma.SalesInvoicePaymentModel
|
||||
/**
|
||||
* Model StockMovement
|
||||
* Model Service
|
||||
*
|
||||
*/
|
||||
export type StockMovement = Prisma.StockMovementModel
|
||||
export type Service = Prisma.ServiceModel
|
||||
/**
|
||||
* Model StockBalance
|
||||
* Model ServiceCategory
|
||||
*
|
||||
*/
|
||||
export type StockBalance = Prisma.StockBalanceModel
|
||||
/**
|
||||
* Model StockAdjustment
|
||||
*
|
||||
*/
|
||||
export type StockAdjustment = Prisma.StockAdjustmentModel
|
||||
/**
|
||||
* Model StockReservation
|
||||
*
|
||||
*/
|
||||
export type StockReservation = Prisma.StockReservationModel
|
||||
/**
|
||||
* Model Supplier
|
||||
*
|
||||
*/
|
||||
export type Supplier = Prisma.SupplierModel
|
||||
/**
|
||||
* Model SupplierLedger
|
||||
*
|
||||
*/
|
||||
export type SupplierLedger = Prisma.SupplierLedgerModel
|
||||
/**
|
||||
* Model StockAvailableView
|
||||
*
|
||||
*/
|
||||
export type StockAvailableView = Prisma.StockAvailableViewModel
|
||||
export type ServiceCategory = Prisma.ServiceCategoryModel
|
||||
|
||||
Reference in New Issue
Block a user