feat(customers): add DTOs for individual and legal customer creation
- Created CreateCustomerIndividualDto for individual customer data with fields: first_name, last_name, national_code, postal_code, is_favorite, and economic_code. - Created CreateCustomerLegalDto for legal customer data with fields: company_name, economic_code, registration_number, and postal_code.
This commit is contained in:
@@ -22,6 +22,16 @@ export * from './enums.js';
|
||||
*
|
||||
*/
|
||||
export type Customer = Prisma.CustomerModel
|
||||
/**
|
||||
* Model CustomerIndividual
|
||||
*
|
||||
*/
|
||||
export type CustomerIndividual = Prisma.CustomerIndividualModel
|
||||
/**
|
||||
* Model CustomerLegal
|
||||
*
|
||||
*/
|
||||
export type CustomerLegal = Prisma.CustomerLegalModel
|
||||
/**
|
||||
* Model Device
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user