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/model/Ticket.java

    r0ba5d1a r00fa72f  
    4343    }
    4444
     45    public Ticket(LocalDate date_reserved, Customer customer, Projection projection, Seat seat) {
     46        this.date_reserved = date_reserved;
     47        this.customer = customer;
     48        this.projection = projection;
     49        this.seat = seat;
     50    }
     51
     52    public Ticket( LocalDate date_reserved, Customer customer, Projection projection, Discount discount, Seat seat) {
     53        this.date_reserved = date_reserved;
     54        this.customer = customer;
     55        this.projection = projection;
     56        this.discount = discount;
     57        this.seat = seat;
     58    }
     59
    4560    public Ticket() {
    4661
    4762    }
     63
     64    public void setPrice(long price) {
     65        this.price = price;
     66    }
    4867}
Note: See TracChangeset for help on using the changeset viewer.