package org.jeecg.modules.bu_zy_jcw.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bu_zy_jcw_online
 * @Author: jeecg-boot
 * @Date:   2025-11-26
 * @Version: V1.0
 */
@Data
@TableName("bu_zy_jcw_online")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_zy_jcw_online对象", description="bu_zy_jcw_online")
public class BuZyJcwOnline implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private String id;
	/**采集时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "采集时间")
    private Date createTime;
	/**上传服务器名*/
	@Excel(name = "上传服务器名", width = 15)
    @ApiModelProperty(value = "上传服务器名")
    private String serverName;
	/**传感器ID*/
	@Excel(name = "传感器ID", width = 15)
    @ApiModelProperty(value = "传感器ID")
    @Dict(dictTable = "bu_sensor", dicText = "device_name", dicCode = "id")
    private String sensorId;
	/**状态 (0正常 1预警 2报警)*/
	@Excel(name = "状态 (0正常 1预警 2报警)", width = 15)
    @ApiModelProperty(value = "状态 (0正常 1预警 2报警)")
    private Integer status;
	/**报警字段名 逗号分隔*/
	@Excel(name = "报警字段名 逗号分隔", width = 15)
    @ApiModelProperty(value = "报警字段名 逗号分隔")
    private String statusname;
	/**消息类型*/
	@Excel(name = "消息类型", width = 15)
    @ApiModelProperty(value = "消息类型")
    private Integer dataType;
	/**消息ID*/
	@Excel(name = "消息ID", width = 15)
    @ApiModelProperty(value = "消息ID")
    private Integer dataId;
	/**通信协议类型*/
	@Excel(name = "通信协议类型", width = 15)
    @ApiModelProperty(value = "通信协议类型")
    private Integer protocolType;
	/**通信协议版本号*/
	@Excel(name = "通信协议版本号", width = 15)
    @ApiModelProperty(value = "通信协议版本号")
    private Integer protocolVersion;
	/**城市ID*/
	@Excel(name = "城市ID", width = 15)
    @ApiModelProperty(value = "城市ID")
    private Integer cityId;
	/**线路ID*/
	@Excel(name = "线路ID", width = 15)
    @ApiModelProperty(value = "线路ID")
    private Integer lineId;
	/**设备内部ID*/
	@Excel(name = "设备内部ID", width = 15)
    @ApiModelProperty(value = "设备内部ID")
    private Integer inId;
	/**子设备ID*/
	@Excel(name = "子设备ID", width = 15)
    @ApiModelProperty(value = "子设备ID")
    private Integer subId;
	/**上传时间*/
	@Excel(name = "上传时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "上传时间")
    private Date upTime;
	/**一位端前牵*/
	@Excel(name = "一位端前牵", width = 15)
    @ApiModelProperty(value = "一位端前牵")
    private Boolean data1;
	/**一位端后退*/
	@Excel(name = "一位端后退", width = 15)
    @ApiModelProperty(value = "一位端后退")
    private Boolean data2;
	/**二位端前牵*/
	@Excel(name = "二位端前牵", width = 15)
    @ApiModelProperty(value = "二位端前牵")
    private Boolean data3;
	/**二位端后退*/
	@Excel(name = "二位端后退", width = 15)
    @ApiModelProperty(value = "二位端后退")
    private Boolean data4;
	/**机车空档位信号*/
	@Excel(name = "机车空档位信号", width = 15)
    @ApiModelProperty(value = "机车空档位信号")
    private Boolean data5;
	/**机车自动一档信号*/
	@Excel(name = "机车自动一档信号", width = 15)
    @ApiModelProperty(value = "机车自动一档信号")
    private Boolean data6;
	/**机车自动二档信号*/
	@Excel(name = "机车自动二档信号", width = 15)
    @ApiModelProperty(value = "机车自动二档信号")
    private Boolean data7;
	/**机车自动三档信号*/
	@Excel(name = "机车自动三档信号", width = 15)
    @ApiModelProperty(value = "机车自动三档信号")
    private Boolean data8;
	/**机车手动一档信号*/
	@Excel(name = "机车手动一档信号", width = 15)
    @ApiModelProperty(value = "机车手动一档信号")
    private Boolean data9;
	/**机车手动二档信号*/
	@Excel(name = "机车手动二档信号", width = 15)
    @ApiModelProperty(value = "机车手动二档信号")
    private Boolean data10;
	/**机车手动三档信号*/
	@Excel(name = "机车手动三档信号", width = 15)
    @ApiModelProperty(value = "机车手动三档信号")
    private Boolean data11;
	/**机车速度报警信号*/
	@Excel(name = "机车速度报警信号", width = 15)
    @ApiModelProperty(value = "机车速度报警信号")
    private Boolean data12;
	/**紧急制动缓解开关信号*/
	@Excel(name = "紧急制动缓解开关信号", width = 15)
    @ApiModelProperty(value = "紧急制动缓解开关信号")
    private Boolean data13;
	/**停车制动信号*/
	@Excel(name = "停车制动信号", width = 15)
    @ApiModelProperty(value = "停车制动信号")
    private Boolean data14;
	/**蓄电池电压*/
	@Excel(name = "蓄电池电压", width = 15)
    @ApiModelProperty(value = "蓄电池电压")
    private Double rdata1;
	/**蓄电池电流*/
	@Excel(name = "蓄电池电流", width = 15)
    @ApiModelProperty(value = "蓄电池电流")
    private Double rdata2;
	/**机车速度*/
	@Excel(name = "机车速度", width = 15)
    @ApiModelProperty(value = "机车速度")
    private Double rdata3;
	/**发动机转速*/
	@Excel(name = "发动机转速", width = 15)
    @ApiModelProperty(value = "发动机转速")
    private Double rdata4;
	/**发动机机油压力信号*/
	@Excel(name = "发动机机油压力信号", width = 15)
    @ApiModelProperty(value = "发动机机油压力信号")
    private Double rdata5;
	/**发动机水温信号*/
	@Excel(name = "发动机水温信号", width = 15)
    @ApiModelProperty(value = "发动机水温信号")
    private Double rdata6;
	/**传动箱转速信号*/
	@Excel(name = "传动箱转速信号", width = 15)
    @ApiModelProperty(value = "传动箱转速信号")
    private Double rdata7;
	/**变扭器传动油压力信号*/
	@Excel(name = "变扭器传动油压力信号", width = 15)
    @ApiModelProperty(value = "变扭器传动油压力信号")
    private Double rdata8;
	/**变扭器传动油温度信号*/
	@Excel(name = "变扭器传动油温度信号", width = 15)
    @ApiModelProperty(value = "变扭器传动油温度信号")
    private Double rdata9;
	/**柴油油位信号*/
	@Excel(name = "柴油油位信号", width = 15)
    @ApiModelProperty(value = "柴油油位信号")
    private Double rdata10;
	/**公里数信息*/
	@Excel(name = "公里数信息", width = 15)
    @ApiModelProperty(value = "公里数信息")
    private Double rdata11;
}
