package com.ytpm.agent.param;

import com.ytpm.advertise.param.AddAppParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("新增应用参数")
public class AppParam {
    @ApiModelProperty(value = "1-安卓 2-IOS",required = true)
    private Integer appType;
    @ApiModelProperty(value = "应用ID",required = false, notes = "修改时传新增时不传")
    private String appId;
    @ApiModelProperty(value = "应用名称",required = true)
    private String appName;
    @ApiModelProperty(value = "是否应用商店上架 1-否 2-是 ",required = true)
    private Integer store_on_sale;
    @ApiModelProperty(value = "应用商店类型 ",required = false)
    private Integer store_type;
    @ApiModelProperty(value = "应用商店链接",required  = false)
    private String store_url;
    @ApiModelProperty(value = "应用包名",required = true)
    private String package_name;
    @ApiModelProperty(value = "应用域名")
    private String domain;
    @ApiModelProperty(value = "一级分类", required = true)
    private String category;
    @ApiModelProperty(value = "二级分类",required = true)
    private String sub_category;
    @ApiModelProperty(value = "屏幕方向 1-竖屏 2-横屏 3-所有",required = true)
    private Integer screen_orientation;
    @ApiModelProperty(value = "是否遵守COPPA协议 1-否 2-是", required = true)
    private Integer coppa;
    @ApiModelProperty(value = "是否遵守CCPA协议 1-否 2-是", required = true)
    private Integer ccpa;
    @ApiModelProperty("二维码链接")
    private String qrCode;
    @ApiModelProperty("apk应用包地址")
    private String apkUrl;
    @ApiModelProperty("版本号")
    private String versionCode;
    @ApiModelProperty("更新提示")
    private String updateTips;
    @ApiModelProperty("渠道类型id")
    private Long ditchId;
    @ApiModelProperty("渠道类型名称")
    private String ditchName;
    @ApiModelProperty("上级应用ID（母包）")
    private String superiorId;
    @ApiModelProperty("渠道商用户ID")
    private String userId;
    @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 flowIntervalTime;
    @ApiModelProperty("体力不足提示语")
    private String taskLimitTip;
    @ApiModelProperty("用户低收益提示语")
    private String lowValueTip;
    @ApiModelProperty("刷子提示语")
    private String brushTip;

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

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

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