Ignore:
Timestamp:
01/19/25 23:18:37 (4 months ago)
Author:
Aleksandar Panovski <apano77@…>
Branches:
main
Children:
f5b256e
Parents:
db39d9e
Message:

Done with stupid timeslots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/rezevirajmasa/demo/service/ReservationHistoryService.java

    rdb39d9e r8ca35dc  
    44import com.example.rezevirajmasa.demo.model.Reservation;
    55import com.example.rezevirajmasa.demo.model.Restaurant;
     6import com.example.rezevirajmasa.demo.model.User;
    67
    78import java.time.LocalDateTime;
     
    1112    public void moveReservationToHistory(Reservation reservation, String status, String cancellationReason);
    1213    public void moveReservationsToPast(List<Restaurant.ReservationHistory> reservationsToMove);
    13     List<Restaurant.ReservationHistory> findByCustomer(Customer customer);
     14    List<Restaurant.ReservationHistory> findByUser(User user);
    1415    List<Restaurant.ReservationHistory> findAll();
    1516    List<Restaurant.ReservationHistory> findReservationsToMove(LocalDateTime currentTime);
Note: See TracChangeset for help on using the changeset viewer.