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: modbustcppar
 * @Author: jeecg-boot
 * @Date:   2024-10-15
 * @Version: V1.0
 */
@Data
@TableName("modbustcppar")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="modbustcppar对象", description="modbustcppar")
public class Modbustcppar 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;
	/**port*/
	@Excel(name = "port", width = 15)
    @ApiModelProperty(value = "port")
    private Integer port;
	/**address*/
	@Excel(name = "address", width = 15)
    @ApiModelProperty(value = "address")
    private Integer address;
	/**deviceid*/
	@Excel(name = "deviceid", width = 15)
    @ApiModelProperty(value = "deviceid")
    private String deviceid;
	/**电能限定参数*/
	@Excel(name = "电能限定参数", width = 15)
    @ApiModelProperty(value = "电能限定参数")
    private Double iPar;

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

}
