Ignore:
Timestamp:
02/09/23 14:06:45 (21 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
6a9006d, a9ffccd
Parents:
0ba5d1a
Message:

Reservation Implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/service/TicketService.java

    r0ba5d1a r00fa72f  
    11package com.example.moviezone.service;
    22
    3 import com.example.moviezone.model.Customer;
    4 import com.example.moviezone.model.Ticket;
     3import com.example.moviezone.model.*;
    54
     5import java.time.LocalDate;
    66import java.util.List;
    77
     
    99    List<Ticket> findAllTickets();
    1010    List<Ticket> findAllByCustomer(Customer customer);
    11 
     11    Ticket saveWithDiscount(LocalDate date, Customer customer, Projection projection, Discount discount, Seat seat);
     12    Ticket saveWithout(LocalDate date,Customer customer,Projection projection,Seat seat);
    1213    Ticket save(long price,Customer customer);
     14    Integer priceForTicket(int id);
    1315}
Note: See TracChangeset for help on using the changeset viewer.