Files
NTO-2025-Backend-TeamTask/src/main/java/com/example/nto/service/BookingService.java
student-30857 53385a4661
Some checks failed
Android Test / validate-and-test (pull_request) Has been cancelled
done
2025-12-12 00:51:01 +03:00

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;
}