package com.ytpm.agent.view;

import com.ytpm.agent.model.YtAppConfigLog;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("应用管理视图")
public class AgentAppView {
    @ApiModelProperty("应用ID")
    private String appId;
    @ApiModelProperty("应用key")
    private String appKey;
    @ApiModelProperty("应用名称")
    private String appName;
    @ApiModelProperty("加盟商用户ID")
    private String userId;
    @ApiModelProperty("应用类型")
    private Integer appType;
    @ApiModelProperty("apk安装包地址")
    private String apkUrl;
    @ApiModelProperty("下载次数")
    private Integer downloadCount;
    @ApiModelProperty("二维码链接")
    private String qrCode;
    @ApiModelProperty("版本号")
    private String versionCode;
    @ApiModelProperty("更新提示")
    private String updateTips;
    @ApiModelProperty("是否启用")
    private Integer enabled;
    @ApiModelProperty("广告渠道名称")
    private String channelName;
    @ApiModelProperty("广告渠道ID")
    private String channelId;
    @ApiModelProperty("广告渠道应用ID")
    private String networkAppId;
    @ApiModelProperty("广告渠道应用名称")
    private String networkAppName;
    @ApiModelProperty("加盟商名称")
    private String nickName;
    private boolean showKey;

    /**
     * 是否应用商店上架 1-否 2-是
     */
    private Integer storeOnSale;
    /**
     * 应用商店类型
     */
    private Integer storeType;
    /**
     * 应用包名
     */
    private String packageName;
    /**
     * 应用商店链接
     */
    private String storeUrl;
    /**
     * 应用域名
     */
    private String domain;
    /**
     * 一级分类
     */
    private String category;
    /**
     * 二级分类
     */
    private String subCategory;
    /**
     * coppa
     */
    private Integer coppa;
    /**
     * ccpa
     */
    private Integer ccpa;
    /**
     * 渠道类型名称
     */
    private String ditchName;
    /**
     * 渠道ID
     */
    private String ditchId;
    /**
     * 屏幕方向
     */
    private Integer screenOrientation;
    /** -------- 数据报告 ---------- */
    /** 广告源请求数 */
    @ApiModelProperty("广告源请求数")
    private String request;
    /** 广告源填充率 */
    @ApiModelProperty("广告源填充率")
    private String fillrate;
    /** 展示数 */
    @ApiModelProperty("展示数")
    private String impression;
    /** 点击数 */
    @ApiModelProperty("点击数")
    private String click;
    /** ECPM */
    @ApiModelProperty("ECPM")
    private String ecpm;
    /** 收益 */
    @ApiModelProperty("收益")
    private String revenue;
    /** 三方广告平台的展示数 */
    @ApiModelProperty("三方广告平台的展示数")
    private String impression_api;
    /** 三方广告平台的点击数 */
    @ApiModelProperty("三方广告平台的点击数")
    private String click_api;
    /** 三方广告平台的ECPM */
    @ApiModelProperty("三方广告平台的ECPM")
    private String ecpm_api;


    @ApiModelProperty("上级应用ID（母包）")
    private String superiorId;
    @ApiModelProperty("上级应用名称")
    private String superiorName;
    @ApiModelProperty("出包码")
    private Integer appCode;
    @ApiModelProperty("服务名称")
    private String serviceName;

    @ApiModelProperty("taku应用ID")
    private String takuAppId;
    @ApiModelProperty("taku应用key")
    private String takuKey;
    @ApiModelProperty("taku横幅")
    private String takuBannerPid;
    @ApiModelProperty("taku原生")
    private String takuNativePid;
    @ApiModelProperty("taku激励")
    private String takuRewardPid;
    @ApiModelProperty("taku插屏")
    private String takuInterstitialPid;
    @ApiModelProperty("是否允许root")
    private Integer canUseRoot;
    @ApiModelProperty("是否允许adb")
    private Integer canUseAdb;
    @ApiModelProperty("是否允许浮窗")
    private Integer canUseFloat;
    @ApiModelProperty("是否允许累加体力")
    private Integer canAccumulation;
    @ApiModelProperty("是否允许模拟器")
    private Integer canSimulator;
    @ApiModelProperty("体力等待时间（秒）")
    private Integer powerWaitTime;
    @ApiModelProperty("插屏间隔时间（秒）")
    private Integer interstitialIntervalTime;

    @ApiModelProperty("是否缓存激励视频")
    private Integer canCacheVideo;

    @ApiModelProperty("启动页等待时间（秒）")
    private Integer startWaitTime;

    @ApiModelProperty("体力不足提示语")
    private String taskLimitTip;

    @ApiModelProperty("用户低收益提示语")
    private String lowValueTip;

    @ApiModelProperty("刷子提示语")
    private String brushTip;

    @ApiModelProperty("原生（信息流）间隔时长（秒）")
    private Integer flowIntervalTime;

    @ApiModelProperty("是否允许自动刷新")
    private Integer canAllowAutoRefresh;


    @ApiModelProperty("最近修改记录")
    private YtAppConfigLog lastChangeLog;

}
