1 | package com.example.service;
|
---|
2 |
|
---|
3 | import com.example.model.Catering;
|
---|
4 | import com.example.model.User;
|
---|
5 |
|
---|
6 | public 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 | }
|
---|