Last change
on this file was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago |
Adding project to repo
|
-
Property mode
set to
100644
|
File size:
586 bytes
|
Rev | Line | |
---|
[b3f2adb] | 1 | package com.example.eatys_app.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.eatys_app.model.Rezervacija;
|
---|
| 4 |
|
---|
| 5 | import java.sql.Timestamp;
|
---|
| 6 | import java.util.Date;
|
---|
| 7 | import java.util.List;
|
---|
| 8 | import java.util.Optional;
|
---|
| 9 |
|
---|
| 10 | public 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.