public class EventDTO extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
eventName |
private int |
id |
private int |
numTickets |
private static long |
serialVersionUID |
private Date |
startTime |
private String |
venueName |
Constructor and Description |
---|
EventDTO() |
Modifier and Type | Method and Description |
---|---|
String |
getEventName() |
int |
getId() |
int |
getNumTickets() |
Date |
getStartTime() |
String |
getVenueName() |
void |
setEventName(String eventName) |
void |
setId(int id) |
void |
setNumTickets(int numTickets) |
void |
setStartTime(Date startTime) |
void |
setVenueName(String venueName) |
String |
toString() |
private static final long serialVersionUID
private int id
private String eventName
private String venueName
private Date startTime
private int numTickets
public int getId()
public void setId(int id)
public String getEventName()
public void setEventName(String eventName)
public String getVenueName()
public void setVenueName(String venueName)
public Date getStartTime()
public void setStartTime(Date startTime)
public int getNumTickets()
public void setNumTickets(int numTickets)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.