Loading page…
A car rental system with branches and classes: reservations over date ranges tested by the peak overlap rather than a count, pricing as a pipeline of rules in integer cents, a reservation state machine, pickup that assigns a car, return with late and damage fees, a damaged car leaving the fleet, one lock for check and insert, and follow-ups that land as new rules.
A rental branch has two economy cars.