feat(rental): Sprint A — modèle + admin + seed #73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/rental-sprint-a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Migration : 5 models (RentalProvider, RentalItem, RentalItemAvailability, RentalBooking, RentalLine) + 2 enums (RentalCategory, RentalBookingStatus) + UserRole.RENTAL_PROVIDER. Seed : 2 prestataires démo (Karbé Lab System D + Pirogues du Bas-Oyapock externe) + 13 items répartis sur 5 catégories.
Admin : /admin/rental-providers (liste filtrable, CRUD, approve toggle), /admin/rental-items (liste filtrable, CRUD scoped par provider), /admin/rentals (liste résa matériel). Sidebar étendu (Catalogue + Activité).
Patterns réutilisés : calque pirogue-providers + carbets admin (audit log, server actions Zod, StatusBadge, inline actions).