Package org.myorg.jpatickets.dto
Class EventDTO
- java.lang.Object
-
- org.myorg.jpatickets.dto.EventDTO
-
- All Implemented Interfaces:
Serializable
public class EventDTO extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private String
eventName
private int
id
private int
numTickets
private static long
serialVersionUID
private Date
startTime
private String
venueName
-
Constructor Summary
Constructors Constructor Description EventDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
id
private int id
-
eventName
private String eventName
-
venueName
private String venueName
-
startTime
private Date startTime
-
numTickets
private int numTickets
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getEventName
public String getEventName()
-
setEventName
public void setEventName(String eventName)
-
getVenueName
public String getVenueName()
-
setVenueName
public void setVenueName(String venueName)
-
getStartTime
public Date getStartTime()
-
setStartTime
public void setStartTime(Date startTime)
-
getNumTickets
public int getNumTickets()
-
setNumTickets
public void setNumTickets(int numTickets)
-
-