feat: updateing the loading and unloading

This commit is contained in:
Nathnael
2026-08-24 14:01:19 +00:00
parent 17c2dca3cc
commit 562c8b48ba
9 changed files with 357 additions and 37 deletions

View File

@@ -67,6 +67,24 @@ export class UpdateOperationsStandardsDto {
@Min(0)
delayToleranceMinutes?: number;
/**
* Handling standards have no spec figure, so they are the only two that may
* be cleared: null puts the report back to reporting hours without a rate.
*/
@ApiPropertyOptional({ example: 6.75, nullable: true })
@IsOptional()
@Transform(toNumber)
@IsNumber()
@Min(0.01)
handlingStandardHoursContainer?: number | null;
@ApiPropertyOptional({ example: 12, nullable: true })
@IsOptional()
@Transform(toNumber)
@IsNumber()
@Min(0.01)
handlingStandardHoursBulk?: number | null;
@ApiPropertyOptional({ example: 20 })
@IsOptional()
@Transform(toNumber)