-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWaitlistEntry.java
More file actions
43 lines (35 loc) · 968 Bytes
/
WaitlistEntry.java
File metadata and controls
43 lines (35 loc) · 968 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
39
40
41
42
43
import java.sql.Date;
import java.sql.Timestamp;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Punya
*/
public class WaitlistEntry {
private final String faculty;
private final Date date;
private final int seats;
private final Timestamp timestamp;
public WaitlistEntry(String faculty, Date date, int seats, Timestamp timestamp){ //Constructor to set the values of the variables above
this.faculty = faculty;
this.date = date;
this.seats = seats;
this.timestamp = timestamp;
}
public String getFaculty(){
return faculty;
}
public Date getDate(){
return date;
}
public int getSeats(){
return seats;
}
public Timestamp getTimestamp(){
return timestamp;
}
}