Ignore:
Timestamp:
02/07/23 14:39:49 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
3650316, fdc651c
Parents:
03fd098
Message:

ticket service save method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/model/Ticket.java

    r03fd098 r3242ef4  
    2828    Customer customer;
    2929
     30    public Ticket(long price, Customer customer) {
     31        this.price = price;
     32        this.customer = customer;
     33        this.date_reserved=LocalDate.now();
     34    }
    3035
     36    public Ticket() {
    3137
    32 
     38    }
    3339}
Note: See TracChangeset for help on using the changeset viewer.