package com.yeejoin.amos.boot.module.jxiop.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.classgraph.json.Id;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * CREATE TABLE `equipments_jxiop_doc_mysql` (
 *   `id` varchar(50) NOT NULL,
 *   `address` varchar(50) DEFAULT NULL,
 *   `equipment_specific_name` varchar(255) DEFAULT NULL,
 *   `gateway_id` varchar(50) DEFAULT NULL,
 *   `is_alarm` varchar(20) DEFAULT NULL,
 *   `created_time` date DEFAULT NULL,
 *   `unit` varchar(50) DEFAULT NULL,
 *   `value` varchar(50) DEFAULT NULL,
 *   `value_F` float DEFAULT NULL,
 *   `value_label` varchar(255) DEFAULT NULL,
 *   `trace_id` varchar(50) DEFAULT NULL,
 *   `equipment_index_name` varchar(255) DEFAULT NULL,
 *   `equipment_number` varchar(50) DEFAULT NULL,
 *   `front_module` varchar(200) DEFAULT NULL,
 *   `system_type` varchar(200) DEFAULT NULL,
 *   `picture_name` varchar(255) DEFAULT NULL,
 *   `display_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
 *   `data_type` varchar(50) DEFAULT NULL,
 *   PRIMARY KEY (`id`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
 */
@Data
@Accessors(chain = true)
@TableName("equipments_jxiop_doc_mysql")
public class EquipmentsJxiopDocMysql {

    @Id
    private String  id;
    @TableField("address")
    private String  address;
    @TableField("data_type")
    private String  dataType;
    @TableField("equipment_specific_name")
    private String  equipmentSpecificName;
    @TableField("gateway_id")
    private String  gatewayId;
    @TableField("is_alarm")
    private String  isAlarm;
    @TableField("created_time")
    private Date createdTime;
    @TableField("unit")
    private String  unit;
    @TableField("value")
    private String  value;
    @TableField("value_F")
    private Float valueF ;
    @TableField("value_label")
    private String  valueLabel;
    @TableField("trace_id")
    private String  traceId;
    @TableField("equipment_index_name")
    private String  equipmentIndexName;
    @TableField("equipment_number")
    private String  equipmentNumber;
    @TableField("front_module")
    private String  frontModule;
    @TableField("system_type")
    private String  systemType;
    @TableField("picture_name")
    private String  pictureName;
    @TableField("display_name")
    private String  displayName;
}
