Ignore:
Timestamp:
02/08/23 16:31:52 (23 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
00fa72f
Parents:
2c7a732
Message:

First part of reservation

File:
1 edited

Legend:

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

    r2c7a732 r0ba5d1a  
    2727    @JoinColumn(name = "id_customer")
    2828    Customer customer;
     29    @ManyToOne
     30    @JoinColumn(name = "id_projection")
     31    Projection projection;
     32    @ManyToOne
     33    @JoinColumn(name = "id_discount")
     34    Discount discount;
     35    @ManyToOne
     36    @JoinColumn(name = "id_seat")
     37    Seat seat;
    2938
    3039    public Ticket(long price, Customer customer) {
Note: See TracChangeset for help on using the changeset viewer.