source: src/main/java/com/example/rezevirajmasa/demo/service/CustomerService.java@ 748b7f6

main
Last change on this file since 748b7f6 was 748b7f6, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

RetaurantServiceImpl problemi
isAvailable od tableEntity...

  • Property mode set to 100644
File size: 1.0 KB
Line 
1package com.example.rezevirajmasa.demo.service;
2
3import ch.qos.logback.core.net.server.Client;
4import com.example.rezevirajmasa.demo.dto.CustomerDTO;
5import com.example.rezevirajmasa.demo.model.Customer;
6import com.example.rezevirajmasa.demo.model.MembershipLevel;
7import com.example.rezevirajmasa.demo.model.Reservation;
8import com.example.rezevirajmasa.demo.model.Role;
9
10import java.util.Date;
11import java.util.List;
12
13
14public interface CustomerService {
15 Customer registration(String firstName, String lastName, String email, String password, String phone, String address, MembershipLevel membershipLevel, Role role);
16 List<Customer> listAll();
17 Customer findByEmail(String email);
18 Customer findById(Long id);
19 Customer updateCustomer(Long id, String firstName, String lastName, String email, String password, String phone, String address, MembershipLevel membershipLevel);
20 Customer registration(Customer customer);
21 boolean deleteById(Long customerId);
22 public CustomerDTO mapCustomerToDTO(Customer customer);
23}
Note: See TracBrowser for help on using the repository browser.