mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 17:38:12 +00:00
feat: updateing the loading and unloading
This commit is contained in:
@@ -179,6 +179,34 @@ export class OperationsStandard extends BaseEntity {
|
||||
@Column({ name: 'default_full_trainset_wagons', type: 'int', default: 50 })
|
||||
defaultFullTrainsetWagons!: number;
|
||||
|
||||
/**
|
||||
* Standard loading-and-unloading time for a container train's stop, in hours.
|
||||
*
|
||||
* Null until a planner sets it, and deliberately so: the reporting spec names
|
||||
* no handling standard, so an unset value reports no rate rather than judging
|
||||
* a train against a guess. Same for the bulk figure below.
|
||||
*/
|
||||
@Column({
|
||||
name: 'handling_standard_hours_container',
|
||||
type: 'numeric',
|
||||
precision: 6,
|
||||
scale: 2,
|
||||
nullable: true,
|
||||
transformer: asNumber,
|
||||
})
|
||||
handlingStandardHoursContainer?: number | null;
|
||||
|
||||
/** Standard loading-and-unloading time for a bulk train's stop, in hours. */
|
||||
@Column({
|
||||
name: 'handling_standard_hours_bulk',
|
||||
type: 'numeric',
|
||||
precision: 6,
|
||||
scale: 2,
|
||||
nullable: true,
|
||||
transformer: asNumber,
|
||||
})
|
||||
handlingStandardHoursBulk?: number | null;
|
||||
|
||||
/** IAM user id of the last operator to change a standard. */
|
||||
@Column({ name: 'updated_by_id', type: 'uuid', nullable: true })
|
||||
updatedById?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user