-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathEvent.java
More file actions
59 lines (45 loc) · 1.29 KB
/
Event.java
File metadata and controls
59 lines (45 loc) · 1.29 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
package com.example.webapplicationwithspring.Events;
public class Event {
private String eventName;
private String eventDate;
private String eventDescription;
private String eventPlace;
private int id;
public Event(String eventName, String eventDate, String eventDescription, String eventPlace, int id) {
this.eventName = eventName;
this.eventDate = eventDate;
this.eventDescription = eventDescription;
this.eventPlace = eventPlace;
this.id = id;
}
public String getEventName() {
return eventName;
}
public void setEventName(String eventName) {
this.eventName = eventName;
}
public String getEventDate() {
return eventDate;
}
public void setEventDate(String eventDate) {
this.eventDate = eventDate;
}
public String getEventDescription() {
return eventDescription;
}
public void setEventDescription(String eventDescription) {
this.eventDescription = eventDescription;
}
public String getEventPlace() {
return eventPlace;
}
public void setEventPlace(String eventPlace) {
this.eventPlace = eventPlace;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}