package com.yeejoin.amos.api.alarm.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("wl_equipment_specific_index")
public class EquipmentSpecificIndex {
	
	@TableField("id")
	private Long id;

	@TableField("equipment_specific_id")
	private Long address;

	@TableField("value")
	private String value;

	@TableField("create_date")
	private Date createDate;

	@TableField("equipment_index_id")
	private Long equipmentIndexId;

	@TableField("update_date")
	private Date updateDate;

	@TableField("equipment_specific_name")
	private String equipmentSpecificName;

	@TableField("equipment_index_name")
	private String equipmentIndexName;

	@TableField("equipment_index_key")
	private String equipmentIndexKey;

	@TableField("value_label")
	private String valueLabel;

	@TableField("value_enum")
	private String valueEnum;

	@TableField("emergency_level_color")
	private String emergencyLevelColor;

	@TableField("is_alarm")
	private Double isAlarm;
	
	@TableField("emergency_level")
	private String emergencyLevel;
	
	@TableField("emergency_level_describe")
	private String emergencyLevelDescribe;
	
	@TableField("trace_id")
	private String traceId;
	
	@TableField("index_address")
	private String indexAddress;
	
	@TableField("station")
	private String station;
	
	@TableField("quality")
	private boolean quality;
	
	@TableField("data_type")
	private String dataType;
	
	@TableField("time_stamp")
	private String timeStamp;
	
	@TableField("gateway_id")
	private String gatewayId;
	
	@TableField("unit")
	private String unit;
	
	@TableField("topic")
	private String topic;
	
	@TableField("group")
	private String group;
}
