mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 18:55:42 +00:00
feat: updateing the loading and unloading
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user