001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.campaign.common.transfer; 018 019import com.echothree.model.control.user.common.transfer.UserVisitTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class UserVisitCampaignTransfer 023 extends BaseTransfer { 024 025 private UserVisitTransfer userVisit; 026 private Integer userVisitCampaignSequence; 027 private Long unformattedTime; 028 private String time; 029 private CampaignTransfer campaign; 030 private CampaignSourceTransfer campaignSource; 031 private CampaignMediumTransfer campaignMedium; 032 private CampaignTermTransfer campaignTerm; 033 private CampaignContentTransfer campaignContent; 034 035 /** Creates a new instance of UserVisitCampaignTransfer */ 036 public UserVisitCampaignTransfer(UserVisitTransfer userVisit, Integer userVisitCampaignSequence, Long unformattedTime, String time, 037 CampaignTransfer campaign, CampaignSourceTransfer campaignSource, CampaignMediumTransfer campaignMedium, CampaignTermTransfer campaignTerm, 038 CampaignContentTransfer campaignContent) { 039 this.userVisit = userVisit; 040 this.userVisitCampaignSequence = userVisitCampaignSequence; 041 this.unformattedTime = unformattedTime; 042 this.time = time; 043 this.campaign = campaign; 044 this.campaignSource = campaignSource; 045 this.campaignMedium = campaignMedium; 046 this.campaignTerm = campaignTerm; 047 this.campaignContent = campaignContent; 048 } 049 050 /** 051 * Returns the userVisit. 052 * @return the userVisit 053 */ 054 public UserVisitTransfer getUserVisit() { 055 return userVisit; 056 } 057 058 /** 059 * Sets the userVisit. 060 * @param userVisit the userVisit to set 061 */ 062 public void setUserVisit(UserVisitTransfer userVisit) { 063 this.userVisit = userVisit; 064 } 065 066 /** 067 * Returns the userVisitCampaignSequence. 068 * @return the userVisitCampaignSequence 069 */ 070 public Integer getUserVisitCampaignSequence() { 071 return userVisitCampaignSequence; 072 } 073 074 /** 075 * Sets the userVisitCampaignSequence. 076 * @param userVisitCampaignSequence the userVisitCampaignSequence to set 077 */ 078 public void setUserVisitCampaignSequence(Integer userVisitCampaignSequence) { 079 this.userVisitCampaignSequence = userVisitCampaignSequence; 080 } 081 082 /** 083 * Returns the unformattedTime. 084 * @return the unformattedTime 085 */ 086 public Long getUnformattedTime() { 087 return unformattedTime; 088 } 089 090 /** 091 * Sets the unformattedTime. 092 * @param unformattedTime the unformattedTime to set 093 */ 094 public void setUnformattedTime(Long unformattedTime) { 095 this.unformattedTime = unformattedTime; 096 } 097 098 /** 099 * Returns the time. 100 * @return the time 101 */ 102 public String getTime() { 103 return time; 104 } 105 106 /** 107 * Sets the time. 108 * @param time the time to set 109 */ 110 public void setTime(String time) { 111 this.time = time; 112 } 113 114 /** 115 * Returns the campaign. 116 * @return the campaign 117 */ 118 public CampaignTransfer getCampaign() { 119 return campaign; 120 } 121 122 /** 123 * Sets the campaign. 124 * @param campaign the campaign to set 125 */ 126 public void setCampaign(CampaignTransfer campaign) { 127 this.campaign = campaign; 128 } 129 130 /** 131 * Returns the campaignSource. 132 * @return the campaignSource 133 */ 134 public CampaignSourceTransfer getCampaignSource() { 135 return campaignSource; 136 } 137 138 /** 139 * Sets the campaignSource. 140 * @param campaignSource the campaignSource to set 141 */ 142 public void setCampaignSource(CampaignSourceTransfer campaignSource) { 143 this.campaignSource = campaignSource; 144 } 145 146 /** 147 * Returns the campaignMedium. 148 * @return the campaignMedium 149 */ 150 public CampaignMediumTransfer getCampaignMedium() { 151 return campaignMedium; 152 } 153 154 /** 155 * Sets the campaignMedium. 156 * @param campaignMedium the campaignMedium to set 157 */ 158 public void setCampaignMedium(CampaignMediumTransfer campaignMedium) { 159 this.campaignMedium = campaignMedium; 160 } 161 162 /** 163 * Returns the campaignTerm. 164 * @return the campaignTerm 165 */ 166 public CampaignTermTransfer getCampaignTerm() { 167 return campaignTerm; 168 } 169 170 /** 171 * Sets the campaignTerm. 172 * @param campaignTerm the campaignTerm to set 173 */ 174 public void setCampaignTerm(CampaignTermTransfer campaignTerm) { 175 this.campaignTerm = campaignTerm; 176 } 177 178 /** 179 * Returns the campaignContent. 180 * @return the campaignContent 181 */ 182 public CampaignContentTransfer getCampaignContent() { 183 return campaignContent; 184 } 185 186 /** 187 * Sets the campaignContent. 188 * @param campaignContent the campaignContent to set 189 */ 190 public void setCampaignContent(CampaignContentTransfer campaignContent) { 191 this.campaignContent = campaignContent; 192 } 193 194}