main
Last change
on this file was b67dfd3, checked in by Aleksandar Panovski <apano77@…>, 13 days ago |
Normalization needed to continue, till here done
|
-
Property mode
set to
100644
|
File size:
839 bytes
|
Line | |
---|
1 | package com.example.rezevirajmasa.demo.service;
|
---|
2 |
|
---|
3 | import com.example.rezevirajmasa.demo.model.Reservation;
|
---|
4 | import com.example.rezevirajmasa.demo.model.Restaurant;
|
---|
5 | import com.example.rezevirajmasa.demo.model.User;
|
---|
6 |
|
---|
7 | import java.time.LocalDateTime;
|
---|
8 | import java.util.List;
|
---|
9 |
|
---|
10 | public interface ReservationHistoryService {
|
---|
11 | public void moveReservationToHistory(Reservation reservation, String status, String cancellationReason);
|
---|
12 | // public void moveReservationToCancelled(Reservation reservation, String status, String cancellationReason);
|
---|
13 | public void moveReservationsToPast(List<Restaurant.ReservationHistory> reservationsToMove);
|
---|
14 | List<Restaurant.ReservationHistory> findByUser(User user);
|
---|
15 | List<Restaurant.ReservationHistory> findAll();
|
---|
16 | List<Restaurant.ReservationHistory> findReservationsToMove(LocalDateTime currentTime);
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.