package com.zksy.base.manhole.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@TableName(value = "jg_device_data", schema = "app_user")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "读取井盖数据")
public class ManholeData {

    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "版本号")
    private String versionNumber;

    @ApiModelProperty(value = "电池电量")
    private String batteryLevel;

    @ApiModelProperty(value = "上传时间")
    private String uploadTime;

    @ApiModelProperty(value = "温度值")
    private String temperatureValue;

    @ApiModelProperty(value = "信号量")
    private String signalStrength;

    @ApiModelProperty(value = "报警状态（0正常，1报警）")
    private String alarmStatus;

    @ApiModelProperty(value = "角度报警阈值")
    private String angleAlarmThreshold;

    @ApiModelProperty(value = "倾斜角度")
    private String tiltAngle;

    @ApiModelProperty(value = "激活状态")
    private String activationStatus;

    @ApiModelProperty(value = "水浸报警状态（0正常，1报警）")
    private String waterInfiltrationAlarmStatus;

    @ApiModelProperty(value = "水位报警状态（0正常，1报警）")
    private String waterLevelAlarmStatus;

    @ApiModelProperty(value = "SIM 卡号")
    private String simCardNumber;

    @ApiModelProperty(value = "IMEI 卡号")
    private String imeiCardNumber;

    @ApiModelProperty(value = "原始数据")
    private String originalData;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}