source: src/main/java/com/example/service/AuthService.java

Last change on this file was a51a591, checked in by colovik <j.colovik@…>, 14 months ago

final

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[a51a591]1package com.example.service;
2
3import com.example.model.Catering;
4import com.example.model.User;
5
6public interface AuthService{
7 User login(String username, String password);
8
9 void registerUser(String name, String username, String number, String password,
10 String rpassword, String role);
11
12 void registerBand(String name, String username, String number, String password,
13 String rpassword, String role, Integer price);
14
15 void registerCatering(String name, String username, String number, String password,
16 String rpassword, String role, Integer price, String address);
17
18 void registerClient(String name, String username, String number, String password,
19 String rpassword, String role);
20
21 void registerPhotographer(String name, String username, String number, String password,
22 String rpassword, String role, Integer price, String portfolio);
23
24 void registerWaiter (String name, String username, String number, String password,
25 String rpassword, String role, Integer free_day,
26 Integer experience, Catering catering);
27}
Note: See TracBrowser for help on using the repository browser.