Package crms.lib

Class RentalDatabase

java.lang.Object
crms.lib.Database<Rental>
crms.lib.RentalDatabase

public class RentalDatabase extends Database<Rental>
The RentalDatabase class is responsible for managing rental operations including fetching recorded Rental objects from the local database, checking car availability, and generating rental reports.

This class follows the singleton pattern to ensure that only one instance of RentalDatabase is created.