parent
d793f70910
commit
0ada926f73
@ -0,0 +1,95 @@
|
||||
package com.baiyee.adcallback.api.vo;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 广点通 移动监控 点击 请求 VO
|
||||
*
|
||||
* @author q
|
||||
* @date 2022/02/19
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class GdtMobileMonitorCallbackRequestVO extends MobileMonitorCallbackRequestBase implements Serializable {
|
||||
|
||||
|
||||
private String clickId;
|
||||
|
||||
private String clickTime;
|
||||
|
||||
private String impressionTime;
|
||||
|
||||
private String campaignId;
|
||||
|
||||
private String adgroupId;
|
||||
|
||||
private String adId;
|
||||
|
||||
private String adPlatformType;
|
||||
|
||||
private String adType;
|
||||
|
||||
private String accountId;
|
||||
|
||||
private String agencyId;
|
||||
|
||||
private String clickSkuId;
|
||||
|
||||
private String billingEvent;
|
||||
|
||||
private String deeplinkUrl;
|
||||
|
||||
private String universalLink;
|
||||
|
||||
private String pageUrl;
|
||||
|
||||
private String deviceOsType;
|
||||
|
||||
private String processTime;
|
||||
|
||||
private String promotedObjectId;
|
||||
|
||||
private String promotedObjectType;
|
||||
|
||||
private String realCost;
|
||||
|
||||
private String requestId;
|
||||
|
||||
private String impressionId;
|
||||
|
||||
/**
|
||||
* 备选的idfa字段 可能和下面的imei字段重复
|
||||
*/
|
||||
private String muid;
|
||||
|
||||
private String imei;
|
||||
|
||||
private String ip;
|
||||
|
||||
private String userAgent;
|
||||
|
||||
private String callback;
|
||||
|
||||
private String encryptedPositionId;
|
||||
|
||||
private String oaid;
|
||||
|
||||
private String caid;
|
||||
|
||||
private String adgroupName;
|
||||
|
||||
private String siteSetName;
|
||||
|
||||
private String campaignName;
|
||||
|
||||
private String adName;
|
||||
|
||||
private String model;
|
||||
|
||||
private String tag;
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
package com.baiyee.adcallback.config.pojo;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class GdtBackdataDTO implements Serializable {
|
||||
|
||||
private String clickId;
|
||||
|
||||
private String clickTime;
|
||||
|
||||
private String impressionTime;
|
||||
|
||||
private String campaignId;
|
||||
|
||||
private String adgroupId;
|
||||
|
||||
private String adId;
|
||||
|
||||
private String adPlatformType;
|
||||
|
||||
private String adType;
|
||||
|
||||
private String accountId;
|
||||
|
||||
private String agencyId;
|
||||
|
||||
private String clickSkuId;
|
||||
|
||||
private String billingEvent;
|
||||
|
||||
private String deeplinkUrl;
|
||||
|
||||
private String universalLink;
|
||||
|
||||
private String pageUrl;
|
||||
|
||||
private String deviceOsType;
|
||||
|
||||
private String processTime;
|
||||
|
||||
private String promotedObjectId;
|
||||
|
||||
private String promotedObjectType;
|
||||
|
||||
private String realCost;
|
||||
|
||||
private String requestId;
|
||||
|
||||
private String impressionId;
|
||||
|
||||
/**
|
||||
* 备选的idfa字段 可能和下面的imei字段重复
|
||||
*/
|
||||
private String muid;
|
||||
|
||||
private String imei;
|
||||
|
||||
private String ip;
|
||||
|
||||
private String userAgent;
|
||||
|
||||
private String callback;
|
||||
|
||||
private String encryptedPositionId;
|
||||
|
||||
private String oaid;
|
||||
|
||||
private String caid;
|
||||
|
||||
private String adgroupName;
|
||||
|
||||
private String siteSetName;
|
||||
|
||||
private String campaignName;
|
||||
|
||||
private String adName;
|
||||
|
||||
private String model;
|
||||
|
||||
private String tag;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package com.baiyee.adcallback.config.pojo.convert;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import com.baiyee.adcallback.api.vo.BaiduMobileMonitorCallbackRequestVO;
|
||||
import com.baiyee.adcallback.api.vo.GdtMobileMonitorCallbackRequestVO;
|
||||
import com.baiyee.adcallback.config.pojo.BdBackdataDTO;
|
||||
import com.baiyee.adcallback.config.pojo.GdtBackdataDTO;
|
||||
import com.baiyee.adcallback.repository.entity.TbBdBackdataEntity;
|
||||
import com.baiyee.adcallback.repository.entity.TbGdtBackdataEntity;
|
||||
|
||||
public class GdtBackdataConvert {
|
||||
|
||||
/**
|
||||
* 私有化构造
|
||||
*/
|
||||
private GdtBackdataConvert(){}
|
||||
|
||||
private static final ThreadLocal<GdtBackdataDTO> context = new ThreadLocal<>();
|
||||
|
||||
/**
|
||||
* vo 转换为 dto -> 存放在当前线程上下文中
|
||||
*
|
||||
* @param vo 对象
|
||||
*/
|
||||
public static void voCovertToDTO(GdtMobileMonitorCallbackRequestVO vo, GdtBackdataDTO dto) {
|
||||
BeanUtil.copyProperties(vo, dto, true);
|
||||
context.set(dto);
|
||||
}
|
||||
|
||||
/**
|
||||
* 转换为实体
|
||||
*
|
||||
* @return {@link TbGdtBackdataEntity}
|
||||
*/
|
||||
public static TbGdtBackdataEntity covertToEntity(TbGdtBackdataEntity entity) {
|
||||
GdtBackdataDTO dto = context.get();
|
||||
if (ObjectUtil.isNotNull(dto)){
|
||||
BeanUtil.copyProperties(dto, entity, true);
|
||||
}
|
||||
context.remove();
|
||||
return entity;
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package com.baiyee.adcallback.repository;
|
||||
|
||||
import com.baiyee.adcallback.repository.entity.TbGdtBackdataEntity;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
public interface TbGdtBackdataEntityRepository extends JpaRepository<TbGdtBackdataEntity, Long> {
|
||||
}
|
@ -0,0 +1,570 @@
|
||||
package com.baiyee.adcallback.repository.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.data.annotation.CreatedDate;
|
||||
import org.springframework.data.annotation.LastModifiedBy;
|
||||
import org.springframework.data.annotation.LastModifiedDate;
|
||||
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Entity
|
||||
@Table(name = "tb_gdt_backdata", schema = "db_ad", catalog = "")
|
||||
@EntityListeners(AuditingEntityListener.class)
|
||||
public class TbGdtBackdataEntity {
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Id
|
||||
@Column(name = "id", nullable = false)
|
||||
private long id;
|
||||
|
||||
@CreatedDate
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Basic
|
||||
@Column(name = "gmt_create", nullable = false)
|
||||
private Timestamp gmtCreate;
|
||||
|
||||
@LastModifiedDate
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Basic
|
||||
@Column(name = "gmt_modify", nullable = false)
|
||||
private Timestamp gmtModify;
|
||||
|
||||
@LastModifiedBy
|
||||
@Basic
|
||||
@Column(name = "operator", nullable = false, length = 255)
|
||||
private String operator;
|
||||
@Basic
|
||||
@Column(name = "click_id", nullable = false, length = 255)
|
||||
private String clickId;
|
||||
@Basic
|
||||
@Column(name = "click_time", nullable = false, length = 255)
|
||||
private String clickTime;
|
||||
@Basic
|
||||
@Column(name = "impression_time", nullable = false, length = 255)
|
||||
private String impressionTime;
|
||||
@Basic
|
||||
@Column(name = "campaign_id", nullable = false, length = 255)
|
||||
private String campaignId;
|
||||
@Basic
|
||||
@Column(name = "adgroup_id", nullable = false, length = 255)
|
||||
private String adgroupId;
|
||||
@Basic
|
||||
@Column(name = "ad_id", nullable = false, length = 255)
|
||||
private String adId;
|
||||
@Basic
|
||||
@Column(name = "ad_platform_type", nullable = false, length = 255)
|
||||
private String adPlatformType;
|
||||
@Basic
|
||||
@Column(name = "ad_type", nullable = false, length = 255)
|
||||
private String adType;
|
||||
@Basic
|
||||
@Column(name = "account_id", nullable = false, length = 255)
|
||||
private String accountId;
|
||||
@Basic
|
||||
@Column(name = "agency_id", nullable = false, length = 255)
|
||||
private String agencyId;
|
||||
@Basic
|
||||
@Column(name = "click_sku_id", nullable = false, length = 255)
|
||||
private String clickSkuId;
|
||||
@Basic
|
||||
@Column(name = "billing_event", nullable = false, length = 255)
|
||||
private String billingEvent;
|
||||
@Basic
|
||||
@Column(name = "deeplink_url", nullable = false, length = 255)
|
||||
private String deeplinkUrl;
|
||||
@Basic
|
||||
@Column(name = "universal_link", nullable = false, length = 255)
|
||||
private String universalLink;
|
||||
@Basic
|
||||
@Column(name = "page_url", nullable = false, length = 255)
|
||||
private String pageUrl;
|
||||
@Basic
|
||||
@Column(name = "device_os_type", nullable = false, length = 255)
|
||||
private String deviceOsType;
|
||||
@Basic
|
||||
@Column(name = "process_time", nullable = false, length = 255)
|
||||
private String processTime;
|
||||
@Basic
|
||||
@Column(name = "promoted_object_id", nullable = false, length = 255)
|
||||
private String promotedObjectId;
|
||||
@Basic
|
||||
@Column(name = "promoted_object_type", nullable = false, length = 255)
|
||||
private String promotedObjectType;
|
||||
@Basic
|
||||
@Column(name = "real_cost", nullable = false, length = 255)
|
||||
private String realCost;
|
||||
@Basic
|
||||
@Column(name = "request_id", nullable = false, length = 255)
|
||||
private String requestId;
|
||||
@Basic
|
||||
@Column(name = "impression_id", nullable = false, length = 255)
|
||||
private String impressionId;
|
||||
@Basic
|
||||
@Column(name = "muid", nullable = false, length = 255)
|
||||
private String muid;
|
||||
@Basic
|
||||
@Column(name = "imei", nullable = false, length = 255)
|
||||
private String imei;
|
||||
@Basic
|
||||
@Column(name = "ip", nullable = false, length = 255)
|
||||
private String ip;
|
||||
@Basic
|
||||
@Column(name = "user_agent", nullable = false, length = 255)
|
||||
private String userAgent;
|
||||
@Basic
|
||||
@Column(name = "callback", nullable = false, length = 255)
|
||||
private String callback;
|
||||
@Basic
|
||||
@Column(name = "encrypted_position_id", nullable = false, length = 255)
|
||||
private String encryptedPositionId;
|
||||
@Basic
|
||||
@Column(name = "oaid", nullable = false, length = 255)
|
||||
private String oaid;
|
||||
@Basic
|
||||
@Column(name = "caid", nullable = false, length = 255)
|
||||
private String caid;
|
||||
@Basic
|
||||
@Column(name = "adgroup_name", nullable = false, length = 255)
|
||||
private String adgroupName;
|
||||
@Basic
|
||||
@Column(name = "site_set_name", nullable = false, length = 255)
|
||||
private String siteSetName;
|
||||
@Basic
|
||||
@Column(name = "campaign_name", nullable = false, length = 255)
|
||||
private String campaignName;
|
||||
@Basic
|
||||
@Column(name = "ad_name", nullable = false, length = 255)
|
||||
private String adName;
|
||||
@Basic
|
||||
@Column(name = "model", nullable = false, length = 255)
|
||||
private String model;
|
||||
@Basic
|
||||
@Column(name = "tag", nullable = false, length = 255)
|
||||
private String tag;
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Timestamp getGmtCreate() {
|
||||
return gmtCreate;
|
||||
}
|
||||
|
||||
public void setGmtCreate(Timestamp gmtCreate) {
|
||||
this.gmtCreate = gmtCreate;
|
||||
}
|
||||
|
||||
public Timestamp getGmtModify() {
|
||||
return gmtModify;
|
||||
}
|
||||
|
||||
public void setGmtModify(Timestamp gmtModify) {
|
||||
this.gmtModify = gmtModify;
|
||||
}
|
||||
|
||||
public String getOperator() {
|
||||
return operator;
|
||||
}
|
||||
|
||||
public void setOperator(String operator) {
|
||||
this.operator = operator;
|
||||
}
|
||||
|
||||
public String getClickId() {
|
||||
return clickId;
|
||||
}
|
||||
|
||||
public void setClickId(String clickId) {
|
||||
this.clickId = clickId;
|
||||
}
|
||||
|
||||
public String getClickTime() {
|
||||
return clickTime;
|
||||
}
|
||||
|
||||
public void setClickTime(String clickTime) {
|
||||
this.clickTime = clickTime;
|
||||
}
|
||||
|
||||
public String getImpressionTime() {
|
||||
return impressionTime;
|
||||
}
|
||||
|
||||
public void setImpressionTime(String impressionTime) {
|
||||
this.impressionTime = impressionTime;
|
||||
}
|
||||
|
||||
public String getCampaignId() {
|
||||
return campaignId;
|
||||
}
|
||||
|
||||
public void setCampaignId(String campaignId) {
|
||||
this.campaignId = campaignId;
|
||||
}
|
||||
|
||||
public String getAdgroupId() {
|
||||
return adgroupId;
|
||||
}
|
||||
|
||||
public void setAdgroupId(String adgroupId) {
|
||||
this.adgroupId = adgroupId;
|
||||
}
|
||||
|
||||
public String getAdId() {
|
||||
return adId;
|
||||
}
|
||||
|
||||
public void setAdId(String adId) {
|
||||
this.adId = adId;
|
||||
}
|
||||
|
||||
public String getAdPlatformType() {
|
||||
return adPlatformType;
|
||||
}
|
||||
|
||||
public void setAdPlatformType(String adPlatformType) {
|
||||
this.adPlatformType = adPlatformType;
|
||||
}
|
||||
|
||||
public String getAdType() {
|
||||
return adType;
|
||||
}
|
||||
|
||||
public void setAdType(String adType) {
|
||||
this.adType = adType;
|
||||
}
|
||||
|
||||
public String getAccountId() {
|
||||
return accountId;
|
||||
}
|
||||
|
||||
public void setAccountId(String accountId) {
|
||||
this.accountId = accountId;
|
||||
}
|
||||
|
||||
public String getAgencyId() {
|
||||
return agencyId;
|
||||
}
|
||||
|
||||
public void setAgencyId(String agencyId) {
|
||||
this.agencyId = agencyId;
|
||||
}
|
||||
|
||||
public String getClickSkuId() {
|
||||
return clickSkuId;
|
||||
}
|
||||
|
||||
public void setClickSkuId(String clickSkuId) {
|
||||
this.clickSkuId = clickSkuId;
|
||||
}
|
||||
|
||||
public String getBillingEvent() {
|
||||
return billingEvent;
|
||||
}
|
||||
|
||||
public void setBillingEvent(String billingEvent) {
|
||||
this.billingEvent = billingEvent;
|
||||
}
|
||||
|
||||
public String getDeeplinkUrl() {
|
||||
return deeplinkUrl;
|
||||
}
|
||||
|
||||
public void setDeeplinkUrl(String deeplinkUrl) {
|
||||
this.deeplinkUrl = deeplinkUrl;
|
||||
}
|
||||
|
||||
public String getUniversalLink() {
|
||||
return universalLink;
|
||||
}
|
||||
|
||||
public void setUniversalLink(String universalLink) {
|
||||
this.universalLink = universalLink;
|
||||
}
|
||||
|
||||
public String getPageUrl() {
|
||||
return pageUrl;
|
||||
}
|
||||
|
||||
public void setPageUrl(String pageUrl) {
|
||||
this.pageUrl = pageUrl;
|
||||
}
|
||||
|
||||
public String getDeviceOsType() {
|
||||
return deviceOsType;
|
||||
}
|
||||
|
||||
public void setDeviceOsType(String deviceOsType) {
|
||||
this.deviceOsType = deviceOsType;
|
||||
}
|
||||
|
||||
public String getProcessTime() {
|
||||
return processTime;
|
||||
}
|
||||
|
||||
public void setProcessTime(String processTime) {
|
||||
this.processTime = processTime;
|
||||
}
|
||||
|
||||
public String getPromotedObjectId() {
|
||||
return promotedObjectId;
|
||||
}
|
||||
|
||||
public void setPromotedObjectId(String promotedObjectId) {
|
||||
this.promotedObjectId = promotedObjectId;
|
||||
}
|
||||
|
||||
public String getPromotedObjectType() {
|
||||
return promotedObjectType;
|
||||
}
|
||||
|
||||
public void setPromotedObjectType(String promotedObjectType) {
|
||||
this.promotedObjectType = promotedObjectType;
|
||||
}
|
||||
|
||||
public String getRealCost() {
|
||||
return realCost;
|
||||
}
|
||||
|
||||
public void setRealCost(String realCost) {
|
||||
this.realCost = realCost;
|
||||
}
|
||||
|
||||
public String getRequestId() {
|
||||
return requestId;
|
||||
}
|
||||
|
||||
public void setRequestId(String requestId) {
|
||||
this.requestId = requestId;
|
||||
}
|
||||
|
||||
public String getImpressionId() {
|
||||
return impressionId;
|
||||
}
|
||||
|
||||
public void setImpressionId(String impressionId) {
|
||||
this.impressionId = impressionId;
|
||||
}
|
||||
|
||||
public String getMuid() {
|
||||
return muid;
|
||||
}
|
||||
|
||||
public void setMuid(String muid) {
|
||||
this.muid = muid;
|
||||
}
|
||||
|
||||
public String getImei() {
|
||||
return imei;
|
||||
}
|
||||
|
||||
public void setImei(String imei) {
|
||||
this.imei = imei;
|
||||
}
|
||||
|
||||
public String getIp() {
|
||||
return ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public String getUserAgent() {
|
||||
return userAgent;
|
||||
}
|
||||
|
||||
public void setUserAgent(String userAgent) {
|
||||
this.userAgent = userAgent;
|
||||
}
|
||||
|
||||
public String getCallback() {
|
||||
return callback;
|
||||
}
|
||||
|
||||
public void setCallback(String callback) {
|
||||
this.callback = callback;
|
||||
}
|
||||
|
||||
public String getEncryptedPositionId() {
|
||||
return encryptedPositionId;
|
||||
}
|
||||
|
||||
public void setEncryptedPositionId(String encryptedPositionId) {
|
||||
this.encryptedPositionId = encryptedPositionId;
|
||||
}
|
||||
|
||||
public String getOaid() {
|
||||
return oaid;
|
||||
}
|
||||
|
||||
public void setOaid(String oaid) {
|
||||
this.oaid = oaid;
|
||||
}
|
||||
|
||||
public String getCaid() {
|
||||
return caid;
|
||||
}
|
||||
|
||||
public void setCaid(String caid) {
|
||||
this.caid = caid;
|
||||
}
|
||||
|
||||
public String getAdgroupName() {
|
||||
return adgroupName;
|
||||
}
|
||||
|
||||
public void setAdgroupName(String adgroupName) {
|
||||
this.adgroupName = adgroupName;
|
||||
}
|
||||
|
||||
public String getSiteSetName() {
|
||||
return siteSetName;
|
||||
}
|
||||
|
||||
public void setSiteSetName(String siteSetName) {
|
||||
this.siteSetName = siteSetName;
|
||||
}
|
||||
|
||||
public String getCampaignName() {
|
||||
return campaignName;
|
||||
}
|
||||
|
||||
public void setCampaignName(String campaignName) {
|
||||
this.campaignName = campaignName;
|
||||
}
|
||||
|
||||
public String getAdName() {
|
||||
return adName;
|
||||
}
|
||||
|
||||
public void setAdName(String adName) {
|
||||
this.adName = adName;
|
||||
}
|
||||
|
||||
public String getModel() {
|
||||
return model;
|
||||
}
|
||||
|
||||
public void setModel(String model) {
|
||||
this.model = model;
|
||||
}
|
||||
|
||||
public String getTag() {
|
||||
return tag;
|
||||
}
|
||||
|
||||
public void setTag(String tag) {
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
TbGdtBackdataEntity that = (TbGdtBackdataEntity) o;
|
||||
|
||||
if (id != that.id) return false;
|
||||
if (gmtCreate != null ? !gmtCreate.equals(that.gmtCreate) : that.gmtCreate != null) return false;
|
||||
if (gmtModify != null ? !gmtModify.equals(that.gmtModify) : that.gmtModify != null) return false;
|
||||
if (operator != null ? !operator.equals(that.operator) : that.operator != null) return false;
|
||||
if (clickId != null ? !clickId.equals(that.clickId) : that.clickId != null) return false;
|
||||
if (clickTime != null ? !clickTime.equals(that.clickTime) : that.clickTime != null) return false;
|
||||
if (impressionTime != null ? !impressionTime.equals(that.impressionTime) : that.impressionTime != null)
|
||||
return false;
|
||||
if (campaignId != null ? !campaignId.equals(that.campaignId) : that.campaignId != null) return false;
|
||||
if (adgroupId != null ? !adgroupId.equals(that.adgroupId) : that.adgroupId != null) return false;
|
||||
if (adId != null ? !adId.equals(that.adId) : that.adId != null) return false;
|
||||
if (adPlatformType != null ? !adPlatformType.equals(that.adPlatformType) : that.adPlatformType != null)
|
||||
return false;
|
||||
if (adType != null ? !adType.equals(that.adType) : that.adType != null) return false;
|
||||
if (accountId != null ? !accountId.equals(that.accountId) : that.accountId != null) return false;
|
||||
if (agencyId != null ? !agencyId.equals(that.agencyId) : that.agencyId != null) return false;
|
||||
if (clickSkuId != null ? !clickSkuId.equals(that.clickSkuId) : that.clickSkuId != null) return false;
|
||||
if (billingEvent != null ? !billingEvent.equals(that.billingEvent) : that.billingEvent != null) return false;
|
||||
if (deeplinkUrl != null ? !deeplinkUrl.equals(that.deeplinkUrl) : that.deeplinkUrl != null) return false;
|
||||
if (universalLink != null ? !universalLink.equals(that.universalLink) : that.universalLink != null)
|
||||
return false;
|
||||
if (pageUrl != null ? !pageUrl.equals(that.pageUrl) : that.pageUrl != null) return false;
|
||||
if (deviceOsType != null ? !deviceOsType.equals(that.deviceOsType) : that.deviceOsType != null) return false;
|
||||
if (processTime != null ? !processTime.equals(that.processTime) : that.processTime != null) return false;
|
||||
if (promotedObjectId != null ? !promotedObjectId.equals(that.promotedObjectId) : that.promotedObjectId != null)
|
||||
return false;
|
||||
if (promotedObjectType != null ? !promotedObjectType.equals(that.promotedObjectType) : that.promotedObjectType != null)
|
||||
return false;
|
||||
if (realCost != null ? !realCost.equals(that.realCost) : that.realCost != null) return false;
|
||||
if (requestId != null ? !requestId.equals(that.requestId) : that.requestId != null) return false;
|
||||
if (impressionId != null ? !impressionId.equals(that.impressionId) : that.impressionId != null) return false;
|
||||
if (muid != null ? !muid.equals(that.muid) : that.muid != null) return false;
|
||||
if (imei != null ? !imei.equals(that.imei) : that.imei != null) return false;
|
||||
if (ip != null ? !ip.equals(that.ip) : that.ip != null) return false;
|
||||
if (userAgent != null ? !userAgent.equals(that.userAgent) : that.userAgent != null) return false;
|
||||
if (callback != null ? !callback.equals(that.callback) : that.callback != null) return false;
|
||||
if (encryptedPositionId != null ? !encryptedPositionId.equals(that.encryptedPositionId) : that.encryptedPositionId != null)
|
||||
return false;
|
||||
if (oaid != null ? !oaid.equals(that.oaid) : that.oaid != null) return false;
|
||||
if (caid != null ? !caid.equals(that.caid) : that.caid != null) return false;
|
||||
if (adgroupName != null ? !adgroupName.equals(that.adgroupName) : that.adgroupName != null) return false;
|
||||
if (siteSetName != null ? !siteSetName.equals(that.siteSetName) : that.siteSetName != null) return false;
|
||||
if (campaignName != null ? !campaignName.equals(that.campaignName) : that.campaignName != null) return false;
|
||||
if (adName != null ? !adName.equals(that.adName) : that.adName != null) return false;
|
||||
if (model != null ? !model.equals(that.model) : that.model != null) return false;
|
||||
if (tag != null ? !tag.equals(that.tag) : that.tag != null) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int result = (int) (id ^ (id >>> 32));
|
||||
result = 31 * result + (gmtCreate != null ? gmtCreate.hashCode() : 0);
|
||||
result = 31 * result + (gmtModify != null ? gmtModify.hashCode() : 0);
|
||||
result = 31 * result + (operator != null ? operator.hashCode() : 0);
|
||||
result = 31 * result + (clickId != null ? clickId.hashCode() : 0);
|
||||
result = 31 * result + (clickTime != null ? clickTime.hashCode() : 0);
|
||||
result = 31 * result + (impressionTime != null ? impressionTime.hashCode() : 0);
|
||||
result = 31 * result + (campaignId != null ? campaignId.hashCode() : 0);
|
||||
result = 31 * result + (adgroupId != null ? adgroupId.hashCode() : 0);
|
||||
result = 31 * result + (adId != null ? adId.hashCode() : 0);
|
||||
result = 31 * result + (adPlatformType != null ? adPlatformType.hashCode() : 0);
|
||||
result = 31 * result + (adType != null ? adType.hashCode() : 0);
|
||||
result = 31 * result + (accountId != null ? accountId.hashCode() : 0);
|
||||
result = 31 * result + (agencyId != null ? agencyId.hashCode() : 0);
|
||||
result = 31 * result + (clickSkuId != null ? clickSkuId.hashCode() : 0);
|
||||
result = 31 * result + (billingEvent != null ? billingEvent.hashCode() : 0);
|
||||
result = 31 * result + (deeplinkUrl != null ? deeplinkUrl.hashCode() : 0);
|
||||
result = 31 * result + (universalLink != null ? universalLink.hashCode() : 0);
|
||||
result = 31 * result + (pageUrl != null ? pageUrl.hashCode() : 0);
|
||||
result = 31 * result + (deviceOsType != null ? deviceOsType.hashCode() : 0);
|
||||
result = 31 * result + (processTime != null ? processTime.hashCode() : 0);
|
||||
result = 31 * result + (promotedObjectId != null ? promotedObjectId.hashCode() : 0);
|
||||
result = 31 * result + (promotedObjectType != null ? promotedObjectType.hashCode() : 0);
|
||||
result = 31 * result + (realCost != null ? realCost.hashCode() : 0);
|
||||
result = 31 * result + (requestId != null ? requestId.hashCode() : 0);
|
||||
result = 31 * result + (impressionId != null ? impressionId.hashCode() : 0);
|
||||
result = 31 * result + (muid != null ? muid.hashCode() : 0);
|
||||
result = 31 * result + (imei != null ? imei.hashCode() : 0);
|
||||
result = 31 * result + (ip != null ? ip.hashCode() : 0);
|
||||
result = 31 * result + (userAgent != null ? userAgent.hashCode() : 0);
|
||||
result = 31 * result + (callback != null ? callback.hashCode() : 0);
|
||||
result = 31 * result + (encryptedPositionId != null ? encryptedPositionId.hashCode() : 0);
|
||||
result = 31 * result + (oaid != null ? oaid.hashCode() : 0);
|
||||
result = 31 * result + (caid != null ? caid.hashCode() : 0);
|
||||
result = 31 * result + (adgroupName != null ? adgroupName.hashCode() : 0);
|
||||
result = 31 * result + (siteSetName != null ? siteSetName.hashCode() : 0);
|
||||
result = 31 * result + (campaignName != null ? campaignName.hashCode() : 0);
|
||||
result = 31 * result + (adName != null ? adName.hashCode() : 0);
|
||||
result = 31 * result + (model != null ? model.hashCode() : 0);
|
||||
result = 31 * result + (tag != null ? tag.hashCode() : 0);
|
||||
return result;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue