package com.tofly.third.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data

public class YatCbssxx {

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

    @ApiModelProperty("请求状态：true-成功")
    private Boolean requestCode;

    @ApiModelProperty("错误原因")
    private String errorMsg;

    @ApiModelProperty("表号")
    private String meterNumber;

    @ApiModelProperty("模组编号")
    private String imei;

    @ApiModelProperty("模组卡号")
    private String usim;

    @ApiModelProperty("设备编号")
    private String deviceId;

    @ApiModelProperty("设备状态：在线/离线")
    private String deviceStatus;

    @ApiModelProperty("当前止度")
    private BigDecimal mount;

    @ApiModelProperty("购买次数")
    private Integer buyCount;

    @ApiModelProperty("剩余金额")
    private BigDecimal money;

    @ApiModelProperty("执行水价")
    private BigDecimal price;

    @ApiModelProperty("电池电量")
    private BigDecimal voltage;

    @ApiModelProperty("电池状态：满电/有电/欠压/掉电")
    private String voltageStatus;

    @ApiModelProperty("阀门状态：无阀门/故障/关/开")
    private String intvalStatus;

    @ApiModelProperty("表状态：正常/出厂/运行/生产")
    private String meterStatus;

    @ApiModelProperty("信号强度")
    private Integer signal;

    @ApiModelProperty("上报时间")
    private LocalDateTime eventTime;
}
