source: src/main/java/com/example/eatys_app/service/CenaService.java

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: 628 bytes
Line 
1package com.example.eatys_app.service;
2
3import com.example.eatys_app.model.Cena;
4import com.example.eatys_app.model.CenaId;
5import com.example.eatys_app.model.Obrok;
6
7import java.util.Date;
8import java.util.List;
9
10public interface CenaService {
11
12 Cena findbyUniqueId(Integer uid);
13
14 List<Cena> listAll();
15
16 Obrok findById(Integer id);
17
18 Cena create(Integer cenaId,Integer obrokId, Integer cenaIznos, Date cenaVaziOd, Date cenaVaziDo);
19
20 Cena update(Integer id, Integer obrokId, Integer cenaIznos, Date cenaVaziOd, Date cenaVaziDo);
21
22 Cena delete(Integer id);
23
24 List<Cena> listCeniByObrok(Integer meniId);
25}
Note: See TracBrowser for help on using the repository browser.