Some checks failed
Android Test / validate-and-test (pull_request) Has been cancelled
22 lines
874 B
Java
22 lines
874 B
Java
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;
|
|
}
|