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;

/**
 * @author nfq
 * @date 2020/8/27 10:09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "系统合规策略创建对象")
public class SystemComplianceQO extends BaseStrategyQO {

    private Integer id;

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

    @ApiModelProperty(value = "sd卡变更 0：未选 1：已选")
    private Integer sdChange;

    @ApiModelProperty(value = "rooted 0：未选 1：已选")
    private Integer rooted;

    @ApiModelProperty(value = "失联 0：未选 1：已选")
    private Integer miss;

    @ApiModelProperty(value = "电量过低 0：未选 1：已选")
    private Integer lowPower;

    @ApiModelProperty(value = "失联时间(1-365天)")
    private Integer missDay;

    @ApiModelProperty(value = "低电量违规值")
    private String lowBattery;

    @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;
}
