source: src/main/java/com/example/eatys_app/service/RezervacijaService.java@ b3f2adb

Last change on this file since b3f2adb was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago

Adding project to repo

  • Property mode set to 100644
File size: 586 bytes
Line 
1package com.example.eatys_app.service;
2
3import com.example.eatys_app.model.Rezervacija;
4
5import java.sql.Timestamp;
6import java.util.Date;
7import java.util.List;
8import java.util.Optional;
9
10public interface RezervacijaService {
11
12 List<Rezervacija> getActiveRezervacii(String username);
13
14 Rezervacija findById(Integer id);
15
16 Rezervacija create(String kupuvacIme, Date vreme, Integer lugje, String opis, Integer restoranId);
17
18 Rezervacija update(Integer id, String kupuvacIme,Date vreme, Integer lugje, String opis, Integer restoranId);
19
20 Rezervacija delete(Integer id);
21}
Note: See TracBrowser for help on using the repository browser.