السيناريو
A corporate campus needs to book licensed security guards, assign them to shifts at various sites, and integrate with access control by issuing badges that grant zone-specific entry.
ما الذي يتضمنه هذا الرسم
اقرأ القرارات الكامنة وراءه.
01
Separate Shift and Booking entities to allow a shift to require multiple guards and to track individual guard assignments.
02
Link AccessBadge to Booking so each guard assignment can be issued its own time-bound badge.
03
Use BadgeZoneGrant to model many-to-many access zone permissions per badge.
Use when designing a schema for guard scheduling, workforce allocation, and access control integration across multiple client sites.