package org.jeecg.modules.sensor.entity;

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

/**
 * @Description: 传感器类型表
 * @Author: jeecg-boot
 * @Date:   2024-05-07
 * @Version: V1.0
 */
@Data
@TableName("bu_sensor_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_sensor_type对象", description="传感器类型表")
public class BuSensorType implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**数据表表头共三条数据，分别为bu_electric、bu_air_quality、bu_vibration*/
	@Excel(name = "数据表表头", width = 15)
    @ApiModelProperty(value = "数据表表头")
    private String tableHead;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**传感器类型名*/
	@Excel(name = "传感器类型名", width = 15)
    @ApiModelProperty(value = "传感器类型名")
    private String name;
    /**传感器厂家*/
    @Excel(name = "传感器厂家", width = 15)
    @ApiModelProperty(value = "传感器厂家")
    private String factory;
    /**传感器型号*/
    @Excel(name = "传感器型号", width = 15)
    @ApiModelProperty(value = "传感器型号")
    private String model;
    /**传感器量程*/
    @Excel(name = "传感器量程", width = 15)
    @ApiModelProperty(value = "传感器量程")
    private String dataValue;
    /**模型类型*/
    @Excel(name = "模型类型", width = 15)
    @ApiModelProperty(value = "模型类型")
    private String modelType;
}
