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


import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ServerRemainMetrics extends BaseServerMetrics {

    /**
     * 留存时间
     */
    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(),getServer_id());
    }

}
