This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
package com.example.nto.service;
|
||||
|
||||
/**
|
||||
* TODO: ДОРАБОТАТЬ в рамках задания
|
||||
* =================================
|
||||
* МОЖНО: Добавлять методы, аннотации, зависимости
|
||||
* НЕЛЬЗЯ: Изменять название класса и пакета
|
||||
*/
|
||||
public interface BookingService {
|
||||
}
|
||||
package com.example.nto.service;
|
||||
|
||||
import com.example.nto.entity.Booking;
|
||||
import com.example.nto.entity.Place;
|
||||
import org.springframework.boot.logging.structured.ContextPairs;
|
||||
import org.springframework.data.crossstore.ChangeSetPersister;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Dictionary;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* TODO: ДОРАБОТАТЬ в рамках задания
|
||||
* =================================
|
||||
* МОЖНО: Добавлять методы, аннотации, зависимости
|
||||
* НЕЛЬЗЯ: Изменять название класса и пакета
|
||||
*/
|
||||
public interface BookingService {
|
||||
Dictionary<LocalDate, List<Place>> getAllBooking(String code) throws ChangeSetPersister.NotFoundException;
|
||||
boolean setBooking(String code, LocalDate date, Long place) throws ChangeSetPersister.NotFoundException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user