| 36376 |
aman |
1 |
package com.spice.profitmandi.dao.cart.v2;
|
|
|
2 |
|
|
|
3 |
import java.time.Instant;
|
|
|
4 |
import java.util.List;
|
|
|
5 |
|
|
|
6 |
public class Reservation {
|
|
|
7 |
|
|
|
8 |
private String reservationId;
|
|
|
9 |
private int cartId;
|
|
|
10 |
private int userId;
|
|
|
11 |
private List<LineReservation> lines;
|
|
|
12 |
private Instant createdAt;
|
|
|
13 |
private Instant expiresAt;
|
|
|
14 |
|
|
|
15 |
public Reservation() {}
|
|
|
16 |
|
|
|
17 |
public String getReservationId() { return reservationId; }
|
|
|
18 |
public void setReservationId(String reservationId) { this.reservationId = reservationId; }
|
|
|
19 |
|
|
|
20 |
public int getCartId() { return cartId; }
|
|
|
21 |
public void setCartId(int cartId) { this.cartId = cartId; }
|
|
|
22 |
|
|
|
23 |
public int getUserId() { return userId; }
|
|
|
24 |
public void setUserId(int userId) { this.userId = userId; }
|
|
|
25 |
|
|
|
26 |
public List<LineReservation> getLines() { return lines; }
|
|
|
27 |
public void setLines(List<LineReservation> lines) { this.lines = lines; }
|
|
|
28 |
|
|
|
29 |
public Instant getCreatedAt() { return createdAt; }
|
|
|
30 |
public void setCreatedAt(Instant createdAt) { this.createdAt = createdAt; }
|
|
|
31 |
|
|
|
32 |
public Instant getExpiresAt() { return expiresAt; }
|
|
|
33 |
public void setExpiresAt(Instant expiresAt) { this.expiresAt = expiresAt; }
|
|
|
34 |
}
|