-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathTicketDTO.java
More file actions
82 lines (64 loc) · 1.85 KB
/
TicketDTO.java
File metadata and controls
82 lines (64 loc) · 1.85 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
package com.booleanuk.api.cinema.DTO;
import java.time.LocalDateTime;
public class TicketDTO {
private Integer id;
private int numSeats;
private LocalDateTime startsAt;
private LocalDateTime createdAt;
private LocalDateTime updatedAt;
private Integer customerId;
private Integer screeningId;
public TicketDTO() {
}
public TicketDTO(Integer id, int numSeats, LocalDateTime startsAt, LocalDateTime createdAt, LocalDateTime updatedAt, Integer customerId, Integer screeningId) {
this.id = id;
this.numSeats = numSeats;
this.startsAt = startsAt;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
this.customerId = customerId;
this.screeningId = screeningId;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public int getNumSeats() {
return numSeats;
}
public void setNumSeats(int numSeats) {
this.numSeats = numSeats;
}
public LocalDateTime getStartsAt() {
return startsAt;
}
public void setStartsAt(LocalDateTime startsAt) {
this.startsAt = startsAt;
}
public LocalDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(LocalDateTime createdAt) {
this.createdAt = createdAt;
}
public LocalDateTime getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(LocalDateTime updatedAt) {
this.updatedAt = updatedAt;
}
public Integer getCustomerId() {
return customerId;
}
public void setCustomerId(Integer customerId) {
this.customerId = customerId;
}
public Integer getScreeningId() {
return screeningId;
}
public void setScreeningId(Integer screeningId) {
this.screeningId = screeningId;
}
}