This repository was archived by the owner on Jul 14, 2024. It is now read-only.
generated from GabrielGuedess/NestJs-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add delete, delete many and update many in order processing
- Loading branch information
1 parent
90a24b6
commit d977f6b
Showing
10 changed files
with
232 additions
and
7 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
src/app/dtos/OrderProcessingDto/UpdateUpdateManyOrderProcessingDto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { type IOrderProcessing } from 'domain/entities/OrdersEntities/OrderProcessing/OrderProcessing'; | ||
|
||
export abstract class UpdateManyOrderProcessingDTO | ||
implements Partial<IOrderProcessing> | ||
{ | ||
id: string; | ||
total_distance?: number; | ||
total_spend_liters?: number; | ||
total_spending_money?: number; | ||
start_at?: Date; | ||
end_at?: Date; | ||
status?: string; | ||
order_processing_number?: string; | ||
disconnect_legal_order?: string; | ||
disconnect_physical_customer_order?: string; | ||
vehicle_id?: string; | ||
updated_at?: Date; | ||
updated_by: string; | ||
physical_customer_order_ids?: string[]; | ||
legal_customer_order_ids?: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters