Changeset 8ca35dc for src/main/java/com/example/rezevirajmasa/demo/service/ReservationHistoryService.java
- Timestamp:
- 01/19/25 23:18:37 (4 months ago)
- Branches:
- main
- Children:
- f5b256e
- Parents:
- db39d9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/rezevirajmasa/demo/service/ReservationHistoryService.java
rdb39d9e r8ca35dc 4 4 import com.example.rezevirajmasa.demo.model.Reservation; 5 5 import com.example.rezevirajmasa.demo.model.Restaurant; 6 import com.example.rezevirajmasa.demo.model.User; 6 7 7 8 import java.time.LocalDateTime; … … 11 12 public void moveReservationToHistory(Reservation reservation, String status, String cancellationReason); 12 13 public void moveReservationsToPast(List<Restaurant.ReservationHistory> reservationsToMove); 13 List<Restaurant.ReservationHistory> findBy Customer(Customer customer);14 List<Restaurant.ReservationHistory> findByUser(User user); 14 15 List<Restaurant.ReservationHistory> findAll(); 15 16 List<Restaurant.ReservationHistory> findReservationsToMove(LocalDateTime currentTime);
Note:
See TracChangeset
for help on using the changeset viewer.