001: package app.data.test;
002:
003: import javax.persistence.Entity;
004: import javax.persistence.Id;
005: import javax.persistence.Table;
006:
007: /**
008: * User Log entity bean.
009: */
010: @Entity
011: @Table(name="s_user_log")
012: public class UserLog {
013:
014: @Id
015: Integer id;
016:
017: String email;
018:
019: String eventType;
020:
021: String eventDescription;
022:
023: String userAgent;
024:
025: String ipAddress;
026:
027: /**
028: * Return id.
029: */
030: public Integer getId() {
031: return id;
032: }
033:
034: /**
035: * Set id.
036: */
037: public void setId(Integer id) {
038: this .id = id;
039: }
040:
041: /**
042: * Return email.
043: */
044: public String getEmail() {
045: return email;
046: }
047:
048: /**
049: * Set email.
050: */
051: public void setEmail(String email) {
052: this .email = email;
053: }
054:
055: /**
056: * Return event type.
057: */
058: public String getEventType() {
059: return eventType;
060: }
061:
062: /**
063: * Set event type.
064: */
065: public void setEventType(String eventType) {
066: this .eventType = eventType;
067: }
068:
069: /**
070: * Return event description.
071: */
072: public String getEventDescription() {
073: return eventDescription;
074: }
075:
076: /**
077: * Set event description.
078: */
079: public void setEventDescription(String eventDescription) {
080: this .eventDescription = eventDescription;
081: }
082:
083: /**
084: * Return user agent.
085: */
086: public String getUserAgent() {
087: return userAgent;
088: }
089:
090: /**
091: * Set user agent.
092: */
093: public void setUserAgent(String userAgent) {
094: this .userAgent = userAgent;
095: }
096:
097: /**
098: * Return ip address.
099: */
100: public String getIpAddress() {
101: return ipAddress;
102: }
103:
104: /**
105: * Set ip address.
106: */
107: public void setIpAddress(String ipAddress) {
108: this.ipAddress = ipAddress;
109: }
110:
111: }
|