- Timestamp:
- 02/15/23 17:58:59 (17 months ago)
- Branches:
- main
- Children:
- 59a8941, dad5bcd
- Parents:
- f0232fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/AuthService.java
rf0232fb rda44aef 4 4 import finki.paw5.model.entities.Employee; 5 5 import finki.paw5.model.entities.User; 6 7 import java.util.Optional; 6 import finki.paw5.model.enumerations.FreeTime; 7 import finki.paw5.model.enumerations.Funds; 8 import finki.paw5.model.enumerations.Housing; 9 import finki.paw5.model.enumerations.PhysicalActivity; 8 10 9 11 public interface AuthService { 10 12 User login (String email, String password); 11 // Adopter registerAdopter(String password, String repeatPassword, String name, String email, String telephone);12 // Employee registerEmployee(String password, String repeatPassword, String name, String email, String telephone);13 Adopter registerAdopter(String name, String email, String password, String telephone, FreeTime freeTime, Funds funds, boolean hasOtherPets, boolean hasKids, Housing housing, PhysicalActivity physicalActivity, boolean willFoster); 14 Employee registerEmployee(String name, String email, String password, String telephone, String position, Integer shelterId); 13 15 14 16 }
Note:
See TracChangeset
for help on using the changeset viewer.