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 YatFkcxxx {

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

    @ApiModelProperty("用户户号")
    private String customerNumber;

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

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

    @ApiModelProperty("平台编号")
    private String deviceId;

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

    @ApiModelProperty("命令编号")
    private String commandId;

    @ApiModelProperty("命令状态：等待/失败/成功/撤销")
    private String commandStatus;

    @ApiModelProperty("设备状态")
    private String deviceStatus;

    @ApiModelProperty("操作类型：Control-控制、Money-金额、Parameter-参数")
    private String dotype;

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

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

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

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

    @ApiModelProperty("电池状态")
    private String voltageStatus;

    @ApiModelProperty("阀门状态")
    private String valStatus;

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

    @ApiModelProperty("表状态")
    private String meterStatus;

    @ApiModelProperty("执行时间")
    private LocalDateTime eventTime;

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