package com.yuchen.saas.park.api.vo.park.prevention;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 颜艺波
 * @date 2022/6/16 17:51
 * @Description
 */
@Data
public class TemperaturePreventionVO {

    @ApiModelProperty(value = "产品productKey")
    private String productKey;

    @ApiModelProperty(value = "设备deviceName")
    private String deviceName;

    @ApiModelProperty(value = "设备名称")
    private String deviceAliasName;

    @ApiModelProperty(value = "进入时间戳")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date enterTime;

    @ApiModelProperty(value = "抓拍图片路径")
    private String picUrl;

    @ApiModelProperty(value = "抓拍图片路径")
    private String bkgUrl;

    @ApiModelProperty(value = "体温(单位： °c)")
    private Float temperature;

    @ApiModelProperty(value = "是否佩戴口罩[0-未知; 1-是; 2-否]")
    private Integer wearMask;

    @ApiModelProperty(value = "是否佩戴口罩[0-未知; 1-是; 2-否]")
    private String wearMaskDesc;

    @ApiModelProperty(value = "园区id")
    private Long parkId;
}
