package cn.com.ctop.toutiao.modules.report.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.util.DateUtils;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;

/**
 * 头条视频素材日报表--仅包含视频素材
 * @author sunzhen
 */
@Data
@TableName("ctop_bytedance_report_playable_daily")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ctop_bytedance_report_playable_daily", description="头条视频素材日报表--仅包含视频素材")
public class BytedanceReportPlayableDaily {

	/**id*/
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private Long id;
	/**广告主id*/
	@Excel(name = "广告主id", width = 15)
	@ApiModelProperty(value = "广告主id")
	private Long accountId;
	/**数据起始时间1*/
	@Excel(name = "数据起始时间1", width = 15)
	@ApiModelProperty(value = "数据起始时间1")
	private String statDatetime;

	/**点击量1*/
	@Excel(name = "点击量1", width = 15)
	@ApiModelProperty(value = "点击量1")
	private Integer click;
	/**总花费1*/
	@Excel(name = "总花费1", width = 15)
	@ApiModelProperty(value = "总花费1")
	private BigDecimal cost;
	/**应用下载-激活1*/
	@Excel(name = "应用下载-激活1", width = 15)
	@ApiModelProperty(value = "应用下载-激活1")
	private Integer active;
	/**应用下载-安卓下载完成1*/
	@Excel(name = "应用下载-安卓下载完成1", width = 15)
	@ApiModelProperty(value = "应用下载-安卓下载完成1")
	private Integer downloadFinish;
	/**应用下载-安卓下载开始1*/
	@Excel(name = "应用下载-安卓下载开始1", width = 15)
	@ApiModelProperty(value = "应用下载-安卓下载开始1")
	private Integer downloadStart;
	/**应用下载-安卓安装完成*/
	@Excel(name = "应用下载-安卓安装完成", width = 15)
	@ApiModelProperty(value = "应用下载-安卓安装完成")
	private Integer installFinish;
	/**应用下载-注册1*/
	@Excel(name = "应用下载-注册1", width = 15)
	@ApiModelProperty(value = "应用下载-注册1")
	private Integer register;
	/**应用下载-付费数1*/
	@Excel(name = "应用下载-付费数1", width = 15)
	@ApiModelProperty(value = "应用下载-付费数1")
	private Integer payCount;
	/**应用下载-到达uv1*/
	@Excel(name = "应用下载-到达uv1", width = 15)
	@ApiModelProperty(value = "应用下载-到达uv1")
	private Integer inAppUv;
	/**应用下载-详情页到站uv1*/
	@Excel(name = "应用下载-详情页到站uv1", width = 15)
	@ApiModelProperty(value = "应用下载-详情页到站uv1")
	private Integer inAppDetailUv;
	/**应用下载-加入购物车1*/
	@Excel(name = "应用下载-加入购物车1", width = 15)
	@ApiModelProperty(value = "应用下载-加入购物车1")
	private Integer inAppCart;
	/**应用下载-提交订单1*/
	@Excel(name = "应用下载-提交订单1", width = 15)
	@ApiModelProperty(value = "应用下载-提交订单1")
	private Integer inAppOrder;
	/**应用下载-付费1*/
	@Excel(name = "应用下载-付费1", width = 15)
	@ApiModelProperty(value = "应用下载-付费1")
	private Integer inAppPay;
	/**落地页-电话拨打数1*/
	@Excel(name = "落地页-电话拨打数1", width = 15)
	@ApiModelProperty(value = "落地页-电话拨打数1")
	private Integer phone;
	/**表单提交数1*/
	@Excel(name = "表单提交数1", width = 15)
	@ApiModelProperty(value = "表单提交数1")
	private Integer form;
	/**落地页-地图搜索1*/
	@Excel(name = "落地页-地图搜索1", width = 15)
	@ApiModelProperty(value = "落地页-地图搜索1")
	private Integer mapSearch;
	/**落地页-按钮button1*/
	@Excel(name = "落地页-按钮button1", width = 15)
	@ApiModelProperty(value = "落地页-按钮button1")
	private Integer button;
	/**落地页-关键页面浏览1*/
	@Excel(name = "落地页-关键页面浏览1", width = 15)
	@ApiModelProperty(value = "落地页-关键页面浏览1")
	private Integer viewMaterial;
	/**落地页-QQ咨询数1*/
	@Excel(name = "落地页-QQ咨询数1", width = 15)
	@ApiModelProperty(value = "落地页-QQ咨询数1")
	private Integer qq;
	/**落地页-抽奖数1*/
	@Excel(name = "落地页-抽奖数1", width = 15)
	@ApiModelProperty(value = "落地页-抽奖数1")
	private Integer lottery;
	/**落地页-投票1*/
	@Excel(name = "落地页-投票1", width = 15)
	@ApiModelProperty(value = "落地页-投票1")
	private Integer vote;
	/**落地页-页面跳转1*/
	@Excel(name = "落地页-页面跳转1", width = 15)
	@ApiModelProperty(value = "落地页-页面跳转1")
	private Integer redirect;
	/**落地页-商品购买1*/
	@Excel(name = "落地页-商品购买1", width = 15)
	@ApiModelProperty(value = "落地页-商品购买1")
	private Integer shopping;
	/**落地页-在线咨询1*/
	@Excel(name = "落地页-在线咨询1", width = 15)
	@ApiModelProperty(value = "落地页-在线咨询1")
	private Integer consult;
	/**落地页-微信1*/
	@Excel(name = "落地页-微信1", width = 15)
	@ApiModelProperty(value = "落地页-微信1")
	private Integer wechat;
	/**落地页-智能电话确认拨打1*/
	@Excel(name = "落地页-智能电话确认拨打1", width = 15)
	@ApiModelProperty(value = "落地页-智能电话确认拨打1")
	private Integer phoneConfirm;
	/**落地页-智能电话确认接通1*/
	@Excel(name = "落地页-智能电话确认接通1", width = 15)
	@ApiModelProperty(value = "落地页-智能电话确认接通1")
	private Integer phoneConnect;
	/**落地页-智能电话有效咨询1*/
	@Excel(name = "落地页-智能电话有效咨询1", width = 15)
	@ApiModelProperty(value = "落地页-智能电话有效咨询1")
	private Integer consultEffective;
	/**视频-总播放1*/
	@Excel(name = "视频-总播放1", width = 15)
	@ApiModelProperty(value = "视频-总播放1")
	private Integer totalPlay;
	/**视频-有效播放1*/
	@Excel(name = "视频-有效播放1", width = 15)
	@ApiModelProperty(value = "视频-有效播放1")
	private Integer validPlay;
	///**视频-wifi播放1*/
	//@Excel(name = "视频-wifi播放1", width = 15)
	//@ApiModelProperty(value = "视频-wifi播放1")
	//private Integer wifiPlay;
	///**视频-播放时长，单位ms1*/
	//@Excel(name = "视频-播放时长，单位ms1", width = 15)
	//@ApiModelProperty(value = "视频-播放时长，单位ms1")
	//private Integer playDurationSum;
	/**视频-播放25%进度总数1*/
	@Excel(name = "视频-播放25%进度总数1", width = 15)
	@ApiModelProperty(value = "视频-播放25%进度总数1")
	private Integer play25FeedBreak;
	/**视频-播放50%进度总数1*/
	@Excel(name = "视频-播放50%进度总数1", width = 15)
	@ApiModelProperty(value = "视频-播放50%进度总数1")
	private Integer play50FeedBreak;
	/**视频-播放75%进度总数*/
	@Excel(name = "视频-播放75%进度总数", width = 15)
	@ApiModelProperty(value = "视频-播放75%进度总数")
	private Integer play75FeedBreak;
	/**视频-播放100%进度总数1*/
	@Excel(name = "视频-播放100%进度总数1", width = 15)
	@ApiModelProperty(value = "视频-播放100%进度总数1")
	private Integer play100FeedBreak;
	/**附加创意-电话按钮1*/
	@Excel(name = "附加创意-电话按钮1", width = 15)
	@ApiModelProperty(value = "附加创意-电话按钮1")
	private Integer advancedCreativePhoneClick;
	/**附加创意-在线咨询1*/
	@Excel(name = "附加创意-在线咨询1", width = 15)
	@ApiModelProperty(value = "附加创意-在线咨询1")
	private Integer advancedCreativeCounselClick;
	/**附加创意-表单提交1*/
	@Excel(name = "附加创意-表单提交1", width = 15)
	@ApiModelProperty(value = "附加创意-表单提交1")
	private Integer advancedCreativeFormClick;
	/**互动数据-分享数1*/
	@Excel(name = "互动数据-分享数1", width = 15)
	@ApiModelProperty(value = "互动数据-分享数1")
	private Integer shareMaterial;
	/**互动数据-评论数1*/
	@Excel(name = "互动数据-评论数1", width = 15)
	@ApiModelProperty(value = "互动数据-评论数1")
	private Integer commentMaterial;
	/**互动数据-关注数1*/
	@Excel(name = "互动数据-关注数1", width = 15)
	@ApiModelProperty(value = "互动数据-关注数1")
	private Integer follow;
	/**互动数据-主页访问量1*/
	@Excel(name = "互动数据-主页访问量1", width = 15)
	@ApiModelProperty(value = "互动数据-主页访问量1")
	private Integer homeVisited;
	/**互动数据-挑战赛查看数1*/
	@Excel(name = "互动数据-挑战赛查看数1", width = 15)
	@ApiModelProperty(value = "互动数据-挑战赛查看数1")
	private Integer iesChallengeClick;
	/**互动数据-音乐查看数1*/
	@Excel(name = "互动数据-音乐查看数1", width = 15)
	@ApiModelProperty(value = "互动数据-音乐查看数1")
	private Integer iesMusicClick;
	/**次留数1*/
	@Excel(name = "次留数1", width = 15)
	@ApiModelProperty(value = "次留数1")
	private Integer nextDayOpen;
	///**次留率1*/
	//@Excel(name = "次留率1", width = 15)
	//@ApiModelProperty(value = "次留率1")
	//private BigDecimal nextDayOpenRate;
	///**次留成本*/
	//@Excel(name = "次留成本", width = 15)
	//@ApiModelProperty(value = "次留成本")
	//private BigDecimal nextDayOpenCost;
	///**素材类型*/
	//@Excel(name = "素材类型", width = 15)
	//@ApiModelProperty(value = "素材类型")
	//private String imageMode;
	///**素材id*/
	//@Excel(name = "素材id", width = 15)
	//@ApiModelProperty(value = "素材id")
	//private Long materialId;
	///**投放位置*/
	//@Excel(name = "投放位置", width = 15)
	//@ApiModelProperty(value = "投放位置")
	//private String inventory;
	///**activePayAmount*/
	//@Excel(name = "activePayAmount", width = 15)
	//@ApiModelProperty(value = "activePayAmount")
	//private Integer activePayAmount;
	/**validPlayCost*/
	@Excel(name = "validPlayCost", width = 15)
	@ApiModelProperty(value = "validPlayCost")
	private BigDecimal validPlayCost;
	/**advancedCreativeCouponAddition*/
	@Excel(name = "advancedCreativeCouponAddition", width = 15)
	@ApiModelProperty(value = "advancedCreativeCouponAddition")
	private Integer advancedCreativeCouponAddition;
	/**convert*/
	@Excel(name = "convert", width = 15)
	@ApiModelProperty(value = "convert")
	private Integer convertMaterial;
	/**activePayCost*/
	@Excel(name = "activePayCost", width = 15)
	@ApiModelProperty(value = "activePayCost")
	private BigDecimal activePayCost;
	/**download*/
	@Excel(name = "download", width = 15)
	@ApiModelProperty(value = "download")
	private Integer download;
	///**cpa*/
	//@Excel(name = "cpa", width = 15)
	//@ApiModelProperty(value = "cpa")
	//private BigDecimal cpa;
	///**cpc*/
	//@Excel(name = "cpc", width = 15)
	//@ApiModelProperty(value = "cpc")
	//private BigDecimal cpc;
	/**locationClick*/
	@Excel(name = "locationClick", width = 15)
	@ApiModelProperty(value = "locationClick")
	private Integer locationClick;
	/**playOverRate*/
	@Excel(name = "playOverRate", width = 15)
	@ApiModelProperty(value = "playOverRate")
	private BigDecimal playOverRate;
	/**ctr*/
	@Excel(name = "ctr", width = 15)
	@ApiModelProperty(value = "ctr")
	private BigDecimal ctr;
	///**cpm*/
	//@Excel(name = "cpm", width = 15)
	//@ApiModelProperty(value = "cpm")
	//private BigDecimal cpm;
	/**wifiPlayRate*/
	@Excel(name = "wifiPlayRate", width = 15)
	@ApiModelProperty(value = "wifiPlayRate")
	private BigDecimal wifiPlayRate;
	/**like*/
	@Excel(name = "like", width = 15)
	@ApiModelProperty(value = "like")
	private Integer likeMaterial;
	/**activePayRate*/
	@Excel(name = "activePayRate", width = 15)
	@ApiModelProperty(value = "activePayRate")
	private BigDecimal activePayRate;
	/**activeCost*/
	@Excel(name = "activeCost", width = 15)
	@ApiModelProperty(value = "activeCost")
	private BigDecimal activeCost;
	/**gameAddictionCost*/
	@Excel(name = "gameAddictionCost", width = 15)
	@ApiModelProperty(value = "gameAddictionCost")
	private BigDecimal gameAddictionCost;
	/**gameAddiction*/
	@Excel(name = "gameAddiction", width = 15)
	@ApiModelProperty(value = "gameAddiction")
	private Integer gameAddiction;
	/**activeRate*/
	@Excel(name = "activeRate", width = 15)
	@ApiModelProperty(value = "activeRate")
	private BigDecimal activeRate;
	///**playDuration10s*/
	//@Excel(name = "playDuration10s", width = 15)
	//@ApiModelProperty(value = "playDuration10s")
	//private Integer playDuration_10s;
	///**phoneEffective*/
	//@Excel(name = "phoneEffective", width = 15)
	//@ApiModelProperty(value = "phoneEffective")
	//private Integer phoneEffective;
	/**gameAddictionRate*/
	@Excel(name = "gameAddictionRate", width = 15)
	@ApiModelProperty(value = "gameAddictionRate")
	private BigDecimal gameAddictionRate;
	/**activeRegisterRate*/
	@Excel(name = "activeRegisterRate", width = 15)
	@ApiModelProperty(value = "activeRegisterRate")
	private BigDecimal activeRegisterRate;
	///**averageVideoPlay*/
	//@Excel(name = "averageVideoPlay", width = 15)
	//@ApiModelProperty(value = "averageVideoPlay")
	//private BigDecimal averageVideoPlay;
	/**downloadFinishCost*/
	@Excel(name = "downloadFinishCost", width = 15)
	@ApiModelProperty(value = "downloadFinishCost")
	private BigDecimal downloadFinishCost;
	///**playDuration3s*/
	//@Excel(name = "playDuration3s", width = 15)
	//@ApiModelProperty(value = "playDuration3s")
	//private Integer playDuration_3s;
	/**activeRegisterCost*/
	@Excel(name = "activeRegisterCost", width = 15)
	@ApiModelProperty(value = "activeRegisterCost")
	private BigDecimal activeRegisterCost;
	/**show*/
	@Excel(name = "show", width = 15)
	@ApiModelProperty(value = "show")
	private Integer showMaterial;
	/**convertRate*/
	@Excel(name = "convertRate", width = 15)
	@ApiModelProperty(value = "convertRate")
	private BigDecimal convertRate;
	/**downloadFinishRate*/
	@Excel(name = "downloadFinishRate", width = 15)
	@ApiModelProperty(value = "downloadFinishRate")
	private BigDecimal downloadFinishRate;
	/**installFinishRate*/
	@Excel(name = "installFinishRate", width = 15)
	@ApiModelProperty(value = "installFinishRate")
	private BigDecimal installFinishRate;
	/**coupon*/
	@Excel(name = "coupon", width = 15)
	@ApiModelProperty(value = "coupon")
	private Integer coupon;
	/**couponSinglePage*/
	@Excel(name = "couponSinglePage", width = 15)
	@ApiModelProperty(value = "couponSinglePage")
	private Integer couponSinglePage;
	///**playOver*/
	//@Excel(name = "playOver", width = 15)
	//@ApiModelProperty(value = "playOver")
	//private Integer playOver;
	/**downloadStartCost*/
	@Excel(name = "downloadStartCost", width = 15)
	@ApiModelProperty(value = "downloadStartCost")
	private BigDecimal downloadStartCost;
	/**message*/
	@Excel(name = "message", width = 15)
	@ApiModelProperty(value = "message")
	private Integer message;
	///**playDuration*/
	//@Excel(name = "playDuration", width = 15)
	//@ApiModelProperty(value = "playDuration")
	//private Integer playDuration;
	/**validPlayRate*/
	@Excel(name = "validPlayRate", width = 15)
	@ApiModelProperty(value = "validPlayRate")
	private BigDecimal validPlayRate;
	/**averagePlayTimePerPlay*/
	@Excel(name = "averagePlayTimePerPlay", width = 15)
	@ApiModelProperty(value = "averagePlayTimePerPlay")
	private BigDecimal averagePlayTimePerPlay;
	/**convertCost*/
	@Excel(name = "convertCost", width = 15)
	@ApiModelProperty(value = "convertCost")
	private BigDecimal convertCost;
	///**convertShowRate*/
	//@Excel(name = "convertShowRate", width = 15)
	//@ApiModelProperty(value = "convertShowRate")
	//private BigDecimal convertShowRate;
	/**installFinishCost*/
	@Excel(name = "installFinishCost", width = 15)
	@ApiModelProperty(value = "installFinishCost")
	private BigDecimal installFinishCost;
	private BigDecimal downloadStartRate;

	private String playableName;  //试玩素材名称
	private String playableUrl;  //试玩素材链接
	private Long playableId;  //试玩素材ID
	private String playablePreviewUrl; //试玩素材预览链接
	private String playableOrientation; //试玩素材展示方向
	private Long poiAddressClick;  //落地页及门店数据-查看店铺地址
	private BigDecimal attributionConvertCost;  //转化数据（计费时间）-转化成本（计费时间）

	private Long clickWebsite;  //互动数据-主页内落地页访问量（主页官网访问量）
	private Long messageAction;  //互动数据-私信数
	private Long advancedCreativeFormSubmit;  //附加创意-附加创意表单提交
	private Long lubanLiveSlidecartClickCnt;  //落地页及门店数据-直播间查看购物车数
	private Long poiCollect;  //落地页及门店数据-店铺收藏
	private Long lubanOrderCnt;  //落地页及门店数据-鲁班订单量
	private BigDecimal attributionNextDayOpenRate;  //应用下载广告数据-次留率
	private Long attributionNextDayOpenCnt;  //应用下载广告数据-次留数
	private BigDecimal loanCreditRate;  //应用下载广告数据-授信率
	private BigDecimal loanCreditCost;  //应用下载广告数据-授信成本
	private BigDecimal lubanOrderStatAmount;  //落地页及门店数据-鲁班订单金额
	private Long lubanLiveEnterCnt;  //落地页及门店数据-直播间观看数
	private Long clickLandingPage;  //互动数据-推广页访问量
	private Long lubanLiveFollowCnt;  //落地页及门店数据-直播间关注数
	private Long clickShopwindow;  //互动数据-主页商品橱窗访问量
	private Long attributionDeepConvert;  //转化数据（计费时间）-深度转化数（计费时间）
	private Long lubanLivePayOrderCount ; //落地页及门店数据-直播间订单量
	private BigDecimal lubanLivePayOrderStatCost;  //落地页及门店数据-直播间订单金额
	private Long cardShow;  //视频数据3秒卡片展现
	private Long preLoanCredit;  //应用下载广告数据-预授信数
	private Long redirectToShop; //落地页及门店数据-调起店铺
	private BigDecimal attributionDeepConvertCost;  //转化数据（计费时间）-深度转化成本（计费时间）
	private BigDecimal preLoanCreditCost;  //应用下载广告数据-预授信成本
	private BigDecimal avgClickCost;  //展现数据-平均点击单价
	private Long attributionConvert;  //转化数据（计费时间）-转化数（计费时间）
	private BigDecimal attributionNextDayOpenCost;  //应用下载广告数据-次留成本
	private BigDecimal loanCompletionRate;  //应用下载广告数据-完件率
	private Long clickDownload;  //互动数据-主页下载链接点击量
	private BigDecimal loanCompletionCost;  //应用下载广告数据-完件成本
	private BigDecimal lubanOrderRoi;  //落地页及门店数据-鲁班ROI
	private Long loanCompletion;  //应用下载广告数据-完件数
	private Long loanCredit; //应用下载广告数据-授信数
	private BigDecimal avgShowCost;  //展现数据-平均千次展现费用
	private Long clickCallDy;  //互动数据-主页内电话拨打点击量


	public BytedanceReportPlayableDaily() {
	}

	public BytedanceReportPlayableDaily(JSONObject detailJson, Long accountId) {
		JSONObject dimensions = detailJson.getJSONObject("dimensions");
		this.accountId = accountId;
		this.setPlayableName(dimensions.getString("playable_name"));
		this.setPlayableUrl(dimensions.getString("playable_url"));
		this.setPlayableId(dimensions.getLong("playable_id"));
		this.setPlayablePreviewUrl(dimensions.getString("playable_preview_url"));
		this.setPlayableOrientation(dimensions.getString("playable_orientation"));
		this.setStatDatetime(dimensions.getDate("stat_datetime") == null ? null : DateUtils.formatDate(dimensions.getDate("stat_datetime"), "yyyy-MM-dd"));

		JSONObject metrics = detailJson.getJSONObject("metrics");
		//this.setActivePayAmount(metrics.getInteger("active_pay_amount"));
		this.setValidPlayCost(metrics.getBigDecimal("valid_play_cost"));
		this.setPlay75FeedBreak(metrics.getInteger("play_75_feed_break"));  //1
		this.setNextDayOpen(metrics.getInteger("next_day_open"));
		this.setAdvancedCreativeCouponAddition(metrics.getInteger("advanced_creative_coupon_addition")); //1
		this.setConvertMaterial(metrics.getInteger("convert")); //1
		this.setActivePayCost(metrics.getBigDecimal("active_pay_cost"));
		this.setInAppCart(metrics.getInteger("in_app_cart")); //1
		this.setPlay25FeedBreak(metrics.getInteger("play_25_feed_break"));
		this.setConsultEffective(metrics.getInteger("consult_effective")); //1
		this.setViewMaterial(metrics.getInteger("view"));
		this.setDownload(metrics.getInteger("download"));
		//this.setCpa(metrics.getBigDecimal("cpa"));
		//this.setCpc(metrics.getBigDecimal("cpc"));
		this.setLocationClick(metrics.getInteger("location_click"));
		this.setPhoneConfirm(metrics.getInteger("phone_confirm"));
		this.setIesMusicClick(metrics.getInteger("ies_music_click"));
		this.setPlayOverRate(metrics.getBigDecimal("play_over_rate"));
		//this.setWifiPlay(metrics.getInteger("wifi_play"));
		this.setShopping(metrics.getInteger("shopping"));
		this.setQq(metrics.getInteger("qq"));
		this.setCtr(metrics.getBigDecimal("ctr"));
		//this.setCpm(metrics.getBigDecimal("cpm"));
		this.setWifiPlayRate(metrics.getBigDecimal("wifi_play_rate"));
		this.setLikeMaterial(metrics.getInteger("like"));
		this.setPlay50FeedBreak(metrics.getInteger("play_50_feed_break"));
		this.setActivePayRate(metrics.getBigDecimal("active_pay_rate"));
		this.setActiveCost(metrics.getBigDecimal("active_cost"));
		this.setActive(metrics.getInteger("active"));
		this.setGameAddictionCost(metrics.getBigDecimal("game_addiction_cost"));
		this.setGameAddiction(metrics.getInteger("game_addiction"));
		this.setActiveRate(metrics.getBigDecimal("active_rate"));
		this.setClick(metrics.getInteger("click"));
		//this.setPlayDuration_10s(metrics.getInteger("play_duration_10s"));
		this.setAdvancedCreativePhoneClick(metrics.getInteger("advanced_creative_phone_click"));
		this.setDownloadStart(metrics.getInteger("download_start"));
		this.setHomeVisited(metrics.getInteger("home_visited"));
		this.setPhone(metrics.getInteger("phone"));
		//this.setPhoneEffective(metrics.getInteger("phone_effective"));
		this.setInAppPay(metrics.getInteger("in_app_pay"));
		this.setGameAddictionRate(metrics.getBigDecimal("game_addiction_rate"));
		//this.setNextDayOpenCost(metrics.getBigDecimal("next_day_open_cost"));
		this.setIesChallengeClick(metrics.getInteger("ies_challenge_click"));
		this.setTotalPlay(metrics.getInteger("total_play"));
		this.setActiveRegisterRate(metrics.getBigDecimal("active_register_rate"));
		//this.setAverageVideoPlay(metrics.getBigDecimal("average_video_play"));
		this.setDownloadFinishCost(metrics.getBigDecimal("download_finish_cost"));
		//this.setPlayDuration_3s(metrics.getInteger("play_duration_3s"));
		this.setActiveRegisterCost(metrics.getBigDecimal("active_register_cost"));
		this.setShowMaterial(metrics.getInteger("show"));
		//this.setNextDayOpenRate(metrics.getBigDecimal("next_day_open_rate"));
		this.setMapSearch(metrics.getInteger("map_search"));
		this.setButton(metrics.getInteger("button"));
		//this.setPlayDurationSum(metrics.getInteger("play_duration_sum"));
		this.setPlay100FeedBreak(metrics.getInteger("play_100_feed_break"));
		this.setAdvancedCreativeCounselClick(metrics.getInteger("advanced_creative_counsel_click"));
		this.setConvertRate(metrics.getBigDecimal("convert_rate"));
		this.setDownloadFinishRate(metrics.getBigDecimal("download_finish_rate"));
		this.setConsult(metrics.getInteger("consult"));
		this.setShareMaterial(metrics.getInteger("share"));
		this.setVote(metrics.getInteger("vote"));
		this.setValidPlay(metrics.getInteger("valid_play"));
		this.setInstallFinishRate(metrics.getBigDecimal("install_finish_rate"));
		this.setRedirect(metrics.getInteger("redirect"));
		this.setPayCount(metrics.getInteger("pay_count"));
		this.setAdvancedCreativeFormClick(metrics.getInteger("advanced_creative_form_click"));
		this.setCost(metrics.getBigDecimal("cost"));
		this.setPhoneConnect(metrics.getInteger("phone_connect"));
		this.setCoupon(metrics.getInteger("coupon"));
		this.setDownloadStartRate(metrics.getBigDecimal("download_start_rate"));
		this.setDownloadFinish(metrics.getInteger("download_finish"));
		this.setWechat(metrics.getInteger("wechat"));
		this.setCouponSinglePage(metrics.getInteger("coupon_single_page"));
		this.setInstallFinish(metrics.getInteger("install_finish"));
		this.setLottery(metrics.getInteger("lottery"));
		//this.setPlayOver(metrics.getInteger("play_over"));
		this.setInAppOrder(metrics.getInteger("in_app_order"));
		this.setDownloadStartCost(metrics.getBigDecimal("download_start_cost"));
		this.setFollow(metrics.getInteger("follow"));
		this.setMessage(metrics.getInteger("message"));
		this.setInAppDetailUv(metrics.getInteger("in_app_detail_uv"));
		//this.setPlayDuration(metrics.getInteger("play_duration"));
		this.setForm(metrics.getInteger("form"));
		this.setValidPlayRate(metrics.getBigDecimal("valid_play_rate"));
		this.setAveragePlayTimePerPlay(metrics.getBigDecimal("average_play_time_per_play"));
		//this.setConvertShowRate(metrics.getBigDecimal("convert_show_rate"));
		this.setInstallFinishCost(metrics.getBigDecimal("install_finish_cost"));
		this.setCommentMaterial(metrics.getInteger("comment"));
		this.setInAppUv(metrics.getInteger("in_app_uv"));
		this.setRegister(metrics.getInteger("register"));
		this.setConvertCost(metrics.getBigDecimal("convert_cost"));

		this.setPoiAddressClick(metrics.getLong("poi_address_click"));
		this.setAttributionConvertCost(metrics.getBigDecimal("attribution_convert_cost"));
		this.setClickWebsite(metrics.getLong("click_website"));
		this.setMessageAction(metrics.getLong("message_action"));
		this.setAdvancedCreativeFormSubmit(metrics.getLong("advanced_creative_form_submit"));
	    this.setLubanLiveSlidecartClickCnt(metrics.getLong("luban_live_slidecart_click_cnt"));
	    this.setPoiCollect(metrics.getLong("poi_collect"));
		this.setLubanOrderCnt(metrics.getLong("luban_order_cnt"));
		this.setAttributionNextDayOpenRate(metrics.getBigDecimal("attribution_next_day_open_rate"));
		this.setAttributionNextDayOpenCnt(metrics.getLong("attribution_next_day_open_cnt"));
		this.setLoanCreditRate(metrics.getBigDecimal("loan_credit_rate"));
		this.setLoanCreditCost(metrics.getBigDecimal("loan_credit_cost"));
		this.setLubanOrderStatAmount(metrics.getBigDecimal("luban_order_stat_amount"));
		this.setLubanLiveEnterCnt(metrics.getLong("luban_live_enter_cnt"));
		this.setClickLandingPage(metrics.getLong("click_landing_page"));
		this.setLubanLiveFollowCnt(metrics.getLong("luban_live_follow_cnt"));
		this.setClickShopwindow(metrics.getLong("click_shopwindow"));
		this.setAttributionDeepConvert(metrics.getLong("attribution_deep_convert"));
		this.setLubanLivePayOrderCount(metrics.getLong("luban_live_pay_order_count"));
		this.setLubanLivePayOrderStatCost(metrics.getBigDecimal("luban_live_pay_order_stat_cost"));
		this.setCardShow(metrics.getLong("card_show"));
		this.setPreLoanCredit(metrics.getLong("pre_loan_credit"));
		this.setRedirectToShop(metrics.getLong("redirect_to_shop"));
		this.setAttributionDeepConvertCost(metrics.getBigDecimal("attribution_deep_convert_cost"));
		this.setPreLoanCreditCost(metrics.getBigDecimal("pre_loan_credit_cost"));
		this.setAvgClickCost(metrics.getBigDecimal("avg_click_cost"));
		this.setAttributionConvert(metrics.getLong("attribution_convert"));
		this.setAttributionNextDayOpenCost(metrics.getBigDecimal("attribution_next_day_open_cost"));
		this.setLoanCompletionRate(metrics.getBigDecimal("loan_completion_rate"));
		this.setClickDownload(metrics.getLong("click_download"));
		this.setLoanCompletionCost(metrics.getBigDecimal("loan_completion_cost"));
		this.setLubanOrderRoi(metrics.getBigDecimal("luban_order_roi"));
		this.setLoanCompletion(metrics.getLong("loan_completion"));
		this.setLoanCredit(metrics.getLong("loan_credit"));
		this.setAvgShowCost(metrics.getBigDecimal("avg_show_cost"));
		this.setClickCallDy(metrics.getLong("click_call_dy"));
	}

}
