Last change
on this file since 3a74959 was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | package com.example.skychasemk.dto;
|
---|
2 |
|
---|
3 | import java.time.LocalDate;
|
---|
4 |
|
---|
5 | public class NotificationDTO {
|
---|
6 |
|
---|
7 | private Integer notificationID;
|
---|
8 | private Integer userID;
|
---|
9 | private String message;
|
---|
10 | private Type type;
|
---|
11 | private LocalDate dateSent;
|
---|
12 |
|
---|
13 | public enum Type {
|
---|
14 | BOOKING_CONFIRMATION,
|
---|
15 | FLIGHT_DELAY,
|
---|
16 | GENERAL_UPDATE
|
---|
17 | }
|
---|
18 |
|
---|
19 | // Getters and Setters
|
---|
20 | public Integer getNotificationID() {
|
---|
21 | return notificationID;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public void setNotificationID(Integer notificationID) {
|
---|
25 | this.notificationID = notificationID;
|
---|
26 | }
|
---|
27 |
|
---|
28 | public Integer getUserID() {
|
---|
29 | return userID;
|
---|
30 | }
|
---|
31 |
|
---|
32 | public void setUserID(Integer userID) {
|
---|
33 | this.userID = userID;
|
---|
34 | }
|
---|
35 |
|
---|
36 | public String getMessage() {
|
---|
37 | return message;
|
---|
38 | }
|
---|
39 |
|
---|
40 | public void setMessage(String message) {
|
---|
41 | this.message = message;
|
---|
42 | }
|
---|
43 |
|
---|
44 | public Type getType() {
|
---|
45 | return type;
|
---|
46 | }
|
---|
47 |
|
---|
48 | public void setType(Type type) {
|
---|
49 | this.type = type;
|
---|
50 | }
|
---|
51 |
|
---|
52 | public LocalDate getDateSent() {
|
---|
53 | return dateSent;
|
---|
54 | }
|
---|
55 |
|
---|
56 | public void setDateSent(LocalDate dateSent) {
|
---|
57 | this.dateSent = dateSent;
|
---|
58 | }
|
---|
59 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.