mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 12:58:13 +00:00
Add window close hour to booking desk configuration
This commit is contained in:
@@ -120,9 +120,17 @@ export class TrainSchedule extends BaseEntity {
|
||||
@Column({ name: 'rule_window_open_hour', type: 'int', nullable: true })
|
||||
ruleWindowOpenHour?: number | null;
|
||||
|
||||
/** EAT hour the daily booking desk shuts (equals open hour for a 24h desk). */
|
||||
@Column({ name: 'rule_window_close_hour', type: 'int', nullable: true })
|
||||
ruleWindowCloseHour?: number | null;
|
||||
|
||||
@Column({ name: 'rule_window_duration_hours', type: 'numeric', precision: 6, scale: 4, nullable: true })
|
||||
ruleWindowDurationHours?: number | null;
|
||||
|
||||
/**
|
||||
* Frozen reopen gap = doc-review + payment minutes at creation. The board
|
||||
* projects each next cycle at close + this delay, then snaps it into office hours.
|
||||
*/
|
||||
@Column({ name: 'rule_reopen_delay_minutes', type: 'int', nullable: true })
|
||||
ruleReopenDelayMinutes?: number | null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user