feat(entries+time-scheduling): add support for automatic breaks and inspection type configurations
- **Domain Enhancements:** - Introduced `PausenKonfiguration` and `BesichtigungsBlock` entities to handle automatic breaks and inspection scheduling. - Added `BesichtigungsTypE` enum for inspection types (`ZU_FUSS`, `ZU_PFERD`). - Updated `Bewerb` and `Abteilung` models to include pause and inspection type fields. - **Service Updates:** - Enhanced `StartlistenService` to calculate start times, accounting for breaks and inspection buffers. - Extended `BewerbService` to support patchable time scheduling via new `updateZeitplan` API. - **Persistence Changes:** - Updated tables (`BewerbTable`, `AbteilungTable`) to persist break configurations and inspection types. - Implemented repository mappings to include these new fields. - **Testing:** - Introduced `BewerbeZeitplanIntegrationTest` to validate new scheduling behaviors, including automatic pauses and inspection handling. - **Documentation:** - Added rulebook and conceptual documents for inspection and scheduling logic in `docs/01_Architecture/`.
This commit is contained in:
@@ -536,3 +536,15 @@ enum class ReglementE {
|
||||
/** Internationales Reglement (FEI) */
|
||||
FEI
|
||||
}
|
||||
|
||||
/**
|
||||
* Typ der Parcoursbesichtigung.
|
||||
*/
|
||||
@Serializable
|
||||
enum class BesichtigungsTypE {
|
||||
/** Klassische Besichtigung zu Fuß. */
|
||||
ZU_FUSS,
|
||||
|
||||
/** Besichtigung zu Pferd (z.B. Springpferdeprüfungen). */
|
||||
ZU_PFERD
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user