As a developer, I want to ensure the system allows new patrons to be added to the library database, so that patrons can access library services and check out items.
Acceptance Criteria:
When a new patron is added, the system does not overwrite any existing patron records.
The system ensures all necessary information (name, address, membership) is captured for the new patron.
The system assigns a unique library card to each new patron.
The system updates the patron database with the new entry once the registration is complete.
The system notifies the librarian if an error occurs during the patron addition process (e.g., missing required fields, duplicate entry).
Description:
As a developer, I want to ensure the system allows new patrons to be added to the library database, so that patrons can access library services and check out items.
Acceptance Criteria:
When a new patron is added, the system does not overwrite any existing patron records. The system ensures all necessary information (name, address, membership) is captured for the new patron. The system assigns a unique library card to each new patron. The system updates the patron database with the new entry once the registration is complete. The system notifies the librarian if an error occurs during the patron addition process (e.g., missing required fields, duplicate entry).