-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCinemaInfo.java
More file actions
38 lines (29 loc) · 909 Bytes
/
CinemaInfo.java
File metadata and controls
38 lines (29 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package cinema;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
class CinemaInfo {
private int total_rows;
private int total_columns;
private List<Seat> available_seats;
@JsonProperty("total_rows")
public int getTotalRows() {
return this.total_rows;
}
@JsonProperty("total_columns")
public int getTotalColumns() {
return this.total_columns;
}
@JsonProperty("available_seats")
public List<Seat> getAvailableSeats() {
return this.available_seats;
}
public void setTotalRows(int total_rows) {
this.total_rows = total_rows;
}
public void setTotalColumns(int total_columns) {
this.total_columns = total_columns;
}
public void setAvailableSeats(List<Seat> available_seats) {
this.available_seats = available_seats;
}
}