package com.sckw.slope.detection.model.dos.tdengine;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lfdc
 * @description
 * @date 2023-10-25 09:10:21
 */
@Data
@TableName("slope_data")
public class SlopeData implements Serializable {
    //ts|raw_id|tslver_id|guid|line|val|create_time|msg_id|name|
//    SELECT ts, raw_id, tslver_id, guid, line, val, create_time, msg_idmsg_id, name
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ts;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rawId;
    private int tslverId;
    private String guid;
    private String line;
    private String val;

    private String msgId;
    private String jsonText;
    private String name;
    private String vin;
    private String serialNumber;
    private String tagsTitle;
    private String tags;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
