package com.ytpm.app.view;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ytpm.annotation.BeanChange;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("微信默认配置")
public class WxDefaultConfig {
    @ApiModelProperty("配置ID")
    private Integer configId;

    private String appId;
    private String secret;
    private String platformAppId;
    @JsonIgnore
    private String platformAppSecret;
    private Integer appType;
    private String userPath;
    private String loginPath;
    private String adPath;
    private String answerPath;
    private String powerPath;

    @ApiModelProperty("taku应用ID")
    @BeanChange(name = "taku应用ID")
    private String takuAppId;

    @ApiModelProperty("taku应用key")
    @BeanChange(name = "takuKey")
    private String takuKey;

    @ApiModelProperty("taku横幅")
    @BeanChange(name = "taku横幅ID")
    private String takuBannerPid;

    @ApiModelProperty("taku原生")
    @BeanChange(name = "taku原生ID")
    private String takuNativePid;

    @ApiModelProperty("taku激励")
    @BeanChange(name = "taku激励ID")
    private String takuRewardPid;

    @ApiModelProperty("taku插屏")
    @BeanChange(name = "taku插屏ID")
    private String takuInterstitialPid;

    @ApiModelProperty("taku插屏")
    @BeanChange(name = "taku ScreenID")
    private String takuScreenPid;

    @ApiModelProperty("是否允许root")
    @BeanChange(name = "是否允许root", ifYesNo = true)
    private Integer canUseRoot;

    @ApiModelProperty("是否允许adb")
    @BeanChange(name = "是否允许adb", ifYesNo = true)
    private Integer canUseAdb;

    @ApiModelProperty("是否允许浮窗")
    @BeanChange(name = "是否允许浮窗", ifYesNo = true)
    private Integer canUseFloat;

    @ApiModelProperty("是否允许累加体力")
    @BeanChange(name = "是否允许累加体力", ifYesNo = true)
    private Integer canAccumulation;

    @ApiModelProperty("是否允许模拟器")
    @BeanChange(name = "是否允许模拟器", ifYesNo = true)
    private Integer canSimulator;

    @ApiModelProperty("体力等待时间（秒）")
    @BeanChange(name = "体力等待时间（秒）")
    private Integer powerWaitTime;

    @ApiModelProperty("插屏间隔时间（秒）")
    @BeanChange(name = "插屏间隔时间（秒）")
    private Integer interstitialIntervalTime;

    @ApiModelProperty("渠道类型id")
    @BeanChange(name = "渠道类型id")
    private String ditchId;

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

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

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

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

    @ApiModelProperty("是否缓存激励视频")
    @BeanChange(name = "是否缓存激励视频", ifYesNo = true)
    private Integer canCacheVideo;

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

    @ApiModelProperty("是否允许自动刷新")
    @BeanChange(name = "是否允许自动刷新", ifYesNo = true)
    private Integer canAllowAutoRefresh;
}
