1
2
3
4
5
6 package com.hack23.cia.model.application.impl.admin;
7
8 import java.util.Date;
9
10 import javax.persistence.Entity;
11
12 import com.hack23.cia.model.application.impl.common.UserSession;
13
14 /***
15 * The Class AbstractAgencyActionEvent.
16 */
17 @Entity
18 public abstract class AbstractAgencyActionEvent extends
19 AbstractConfigurationActionEvent {
20
21 /*** The Constant serialVersionUID. */
22 private static final long serialVersionUID = 1L;
23
24 /*** The agency id. */
25 private Long agencyId;
26
27 /***
28 * Instantiates a new abstract agency action event.
29 */
30 public AbstractAgencyActionEvent() {
31 }
32
33 /***
34 * Instantiates a new abstract agency action event.
35 *
36 * @param createdDate the created date
37 * @param userSession the user session
38 * @param agencyId the agency id
39 */
40 public AbstractAgencyActionEvent(final Date createdDate,
41 final UserSession userSession, final Long agencyId) {
42 super(createdDate, userSession);
43 this.agencyId = agencyId;
44 }
45
46 /***
47 * Gets the agency id.
48 *
49 * @return the agency id
50 */
51 public Long getAgencyId() {
52 return agencyId;
53 }
54
55 /***
56 * Sets the agency id.
57 *
58 * @param agencyId the new agency id
59 */
60 public void setAgencyId(final Long agencyId) {
61 this.agencyId = agencyId;
62 }
63
64 }