package com.fshark.overseas.advert.modle.metrics;



import com.fshark.overseas.advert.modle.metrics.BaseMetrics;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class RemainMetrics extends BaseMetrics {

    /**
     * 留存时间
     */
    private Long days;

    /**
     * 留存人数
     */
    private Long user_num;

    public String getRemind_key() {
        return String.format("%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s",getData_date(),getTime_zone(),getRegion(),getMedia_source(),getPlatform(),getGame_id(),getCampaign_id(),getAd_set_id(),getAd_id(),getChannel(),getDays());
    }

}
