package com.skr.mdm.bean.qo.compliance;

import com.skr.mdm.bean.qo.BaseStrategyQO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class StrategyNetworkComplianceQO extends BaseStrategyQO {

    @ApiModelProperty(value = "策略id")
    private Integer id;

    @NotBlank(message = "策略名称不能为空")
    @ApiModelProperty(value = "策略名称")
    private String strategyName;

    @ApiModelProperty(value = "网络白名单")
    private String networkWhitelist;

    @ApiModelProperty(value = "网络黑名单")
    private String networkBlacklist;

    @ApiModelProperty(value = "网络白名单违规提示")
    private String networkWhitelistPrompt;

    @ApiModelProperty(value = "网络黑名单违规提示")
    private String networkBlacklistPrompt;

    @ApiModelProperty(value = "禁用SD卡（0：否 1：是）")
    private Integer sdDisable;

    @ApiModelProperty(value = "禁用相机（0：否 1：是）")
    private Integer photoDisable;

    @ApiModelProperty(value = "禁用录音（0：否 1：是）")
    private Integer recordingDisable;

    @ApiModelProperty(value = "恢复出厂设置（0：否 1：是）")
    private Integer factoryResetDisable;

    @ApiModelProperty(value = "禁用网络（0：否 1：是）")
    private Integer networkDisable;

    @ApiModelProperty(value = "锁定设备（0：否 1：是）")
    private Integer lockEquipment;

    @ApiModelProperty(value = "禁用应用（0：否 1：是）")
    private Integer appDisable;

    @ApiModelProperty(value = "锁屏密码")
    private String lockPassword;

    @ApiModelProperty(value = "禁用应用包名")
    private String appDisablePackage;

    @ApiModelProperty(value = "违规告警（0：否 1：是）")
    private Integer isWarning;
}
