package org.jeecg.modules.sensor.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
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: mqttpar
 * @Author: jeecg-boot
 * @Date:   2024-10-15
 * @Version: V1.0
 */
@Data
@TableName("mqttpar")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mqttpar对象", description="mqttpar")
public class Mqttpar implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**sensorId*/
	@Excel(name = "sensorId", width = 15)
    @ApiModelProperty(value = "sensorId")
    private String sensorId;
	/**ip*/
	@Excel(name = "ip", width = 15)
    @ApiModelProperty(value = "ip")
    private String ip;
	/**mqttNum*/
	@Excel(name = "mqttNum", width = 15)
    @ApiModelProperty(value = "mqttNum")
    private Integer mqttNum;
	/**采集周期*/
	@Excel(name = "采集周期", width = 15)
    @ApiModelProperty(value = "采集周期")
    private Double cycle;
	/**开始小时数*/
	@Excel(name = "开始小时数", width = 15)
    @ApiModelProperty(value = "开始小时数")
    private Double timeStart;
	/**结束小时数*/
	@Excel(name = "结束小时数", width = 15)
    @ApiModelProperty(value = "结束小时数")
    private Double timeEnd;

    @TableField(exist = false)
    private String deviceName;
    @TableField(exist = false)
    private String sensorName;
    @TableField(exist = false)
    private Integer sensorStatus;
}
