Expand description
Daycare contracts for eligibility, attendance, yard assignment, coverage, and throughput. Daycare service contracts for front-desk throughput, safe play, and package review.
The module keeps care mode, eligibility, staffing ratios, and package policy explicit so automated recommendations reduce check-in labor without bypassing staff review:
use domain::daycare;
let contract = daycare::Contract::standard_petsuites();
assert!(contract.requires_staff_review_before_group_play());
assert_eq!(
daycare::ServiceVariant::DayBoarding.care_mode(),
daycare::CareMode::DogIndividualDayBoarding,
);Modules§
- assignment
- Daycare playgroup assignment decisions after eligibility and coverage are known.
- attendance
- Daycare recurring-attendance materialization for predictable front-desk work queues.
- coverage
- Daycare staff-coverage policy for group-play ratio review.
- eligibility
- Daycare group-play eligibility policy for source-grounded staff review.
- front_
desk - Daycare front-desk readiness decisions for faster, safer check-in lanes.
- incident
- Daycare incident disposition rules that preserve pet-safety review gates.
- package_
opportunity - Daycare package-opportunity policy for review-gated membership/pass recommendations.
Structs§
- Contract
- Daycare service-line contract combining attendance, package, ratio, assignment, incident, and eligibility policy.
- Contract
Builder - Use builder syntax to set the inputs and finish with
build(). - Package
Visits - Positive scalar used by daycare policy where zero would hide real staffing, pet-count, queue, or package volume.
- PetCount
- Positive scalar used by daycare policy where zero would hide real staffing, pet-count, queue, or package volume.
- Staff
Count - Positive scalar used by daycare policy where zero would hide real staffing, pet-count, queue, or package volume.
- Staff
PetRatio - Staff-to-pet ratio used to decide whether group-play coverage is sufficient.
Enums§
- Attendance
Policy - Attendance policy controlling whether daycare check-in is drop-in, reserved, or waitlisted.
- Care
Mode - Operational care mode that determines whether group-play, individual care, or cat enrichment rules apply.
- Eligibility
Requirement - Evidence requirements that must be satisfied before daycare care modes proceed.
- Group
Assignment Rule - Rule used to choose or restrict daycare group assignment.
- Package
Policy - Daycare payment/package model used for collection and recommendation workflows.
- Package
Visits Error - Validation failure returned when a required positive daycare scalar is zero.
- PetCount
Error - Validation failure returned when a required positive daycare scalar is zero.
- Service
Variant - Daycare service variant requested by a customer or reservation workflow.
- Staff
Count Error - Validation failure returned when a required positive daycare scalar is zero.