Ignore:
Timestamp:
02/17/25 21:52:11 (4 months ago)
Author:
ste08 <sjovanoska@…>
Branches:
master
Children:
62bba0c
Parents:
9868304
Message:

Signup,Login,FlightSearch,Booking and Payment working!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/skychasemk/model/Booking.java

    r9868304 rde83113  
    1212public class Booking {
    1313
    14     @Setter
    15     @Getter
    1614    @Id
    1715    @GeneratedValue(strategy = GenerationType.IDENTITY)
    1816    @Column(name = "bookingid")
    1917
    20     private Integer bookingID;
    21     @Setter
    22     @Getter
     18    private Integer bookingId;
    2319    @Column(name = "userid")
    2420
    25     private Integer userID;
     21    private Integer userId;
    2622
    2723    @Column(name = "booking_date")
    2824
    2925    private LocalDate booking_date;
    30     @Setter
    31     @Getter
     26
    3227    @Column(name = "payment_status")
    3328
     
    6257    }
    6358
    64     public Integer getBookingID() {
    65         return bookingID;
     59    public Integer getBookingId() {
     60        return bookingId;
    6661    }
    6762
    68     public void setBookingID(Integer bookingID) {
    69         this.bookingID = bookingID;
     63    public void setBookingId(Integer bookingID) {
     64        this.bookingId = bookingID;
    7065    }
    7166
    72     public Integer getUserID() {
    73         return userID;
     67    public Integer getUserId() {
     68        return userId;
    7469    }
    7570
    76     public void setUserID(Integer userID) {
    77         this.userID = userID;
     71    public void setUserId(Integer userId) {
     72        this.userId = userId;
    7873    }
    7974
     
    114109    }
    115110
    116     public BigDecimal getTotalCost() {
    117         return total_cost;
    118     }
    119 
    120     public void setTotalCost(BigDecimal totalCost) {
    121         this.total_cost = totalCost;
    122     }
    123 
    124111    public Integer getSeatNumber() {
    125112        return seat_number;
Note: See TracChangeset for help on using the changeset viewer.