@@ -0,0 +1,728 @@
+%0D%0Apackage com.raj.frs.dao;%0D%0A%0D%0Aimport java.util.ArrayList;%0D%0A%0D%0Aimport org.springframework.stereotype.Repository;%0D%0A%0D%0Aimport com.raj.frs.bean.CredentialsBean;%0D%0Aimport com.raj.frs.bean.PassengerBean;%0D%0Aimport com.raj.frs.bean.ReservationBean;%0D%0A%0D%0A%0D%0A%0D%0Apublic interface ReservationDAO %7B%0D%0A%09%0D%0A%09%0D%0A%09String createReservation(ReservationBean reservation);%0D%0A%09%0D%0A%09int deleteReservation(ArrayList%3CString%3E idList);%0D%0A%09%0D%0A%09boolean updateReservation(ReservationBean reservation);%0D%0A%09%0D%0A%09boolean updateReservation(String userID, int status);%0D%0A%09%0D%0A%09ReservationBean findByID(String ID);%0D%0A%09%0D%0A%09ArrayList%3CReservationBean%3E findAll();%0D%0A%09%0D%0A%09String findSequence();%0D%0A%09%0D%0A%09String reserveTicket(ReservationBean reservationBean,ArrayList%3CPassengerBean%3E passengers);%0D%0A%7D%0D%0A

Add ReservationDAO