feat: implement supplier management module with create, update, find, and delete functionalities

- Added CreateSupplierDto for supplier creation
- Added UpdateSupplierDto for supplier updates
- Implemented SuppliersController to handle HTTP requests for suppliers
- Created SuppliersService to manage supplier data using Prisma
- Integrated SuppliersModule to encapsulate suppliers-related components
This commit is contained in:
2025-12-05 00:01:44 +03:30
parent 621e15dd02
commit 7cb9d7d037
20 changed files with 1762 additions and 1703 deletions
+10
View File
@@ -0,0 +1,10 @@
export class CreateSupplierDto {
firstName: string
lastName: string
email?: string
mobileNumber?: string
address?: string
city?: string
state?: string
country?: string
}
+11
View File
@@ -0,0 +1,11 @@
export class UpdateSupplierDto {
firstName?: string
lastName?: string
email?: string
mobileNumber?: string
address?: string
city?: string
state?: string
country?: string
isActive?: boolean
}