package com.skr.mdm.bean.vo.equipment;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName: mdm_new
 * @Package: com.skr.mdm.pojo.vo.departManage
 * @ClassName: DeviceRailStrategyVO
 * @Author: Tty
 * @Description: 设备 功能策略
 * @Date: 2020/9/7 17:29
 * @Version: 1.0
 */
@Data
@ApiModel("设备合规策略")
public class DeviceComplianceStrategyVO implements Serializable {

	private static final long serialVersionUID = 8384109997704700051L;

	private Integer id;

	@ApiModelProperty(value = "策略名称")
	private String strategyName;

	@ApiModelProperty(value = "策略类型（1：系统合规策略 2：应用合规策略 3：网络合规策略）")
	private Integer strategyType;

	@ApiModelProperty(value = "全局类型（ 1：公司全局 2：部门全局 3：个人)")
	private Integer globalType;

	@ApiModelProperty(value = "下发时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date issuedTime;

	@ApiModelProperty(value = "状态 (1:下发中 2:下发成功 3:执行中 4：执行成功 )")
	private Integer state;

	@ApiModelProperty(value = "管控状态")
	private Integer mdmStatus;

	@ApiModelProperty(value = "是否违规 (0:否 1：是)")
	private Integer isViolation;

	@ApiModelProperty(value = "违规时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date violationTime;
}
