Changeset 00fa72f for src/main/java/com/example/moviezone/model/Ticket.java
- Timestamp:
- 02/09/23 14:06:45 (21 months ago)
- Branches:
- master
- Children:
- 6a9006d, a9ffccd
- Parents:
- 0ba5d1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/model/Ticket.java
r0ba5d1a r00fa72f 43 43 } 44 44 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 45 60 public Ticket() { 46 61 47 62 } 63 64 public void setPrice(long price) { 65 this.price = price; 66 } 48 67 }
Note:
See TracChangeset
for help on using the changeset viewer.