package com.malk.tonglibo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("T_TLB_MACHINEDATA")
public class MachineData {
    @TableId(type= IdType.AUTO)
    private Long id;
    @TableField("paramId")
    private String paramId;
    private LocalDateTime time;
    private String jqyxsh;
    private String zcn;
    private String zqsj;
    private String sgdyl;
    private String xgdyl;
    private String yskqyl1;
    private String yskqyl2;
    private String zymwd1;
    private String zymwd2;
    private String zymwd3;
    private String zymwd4;
    private String smwd1;
    private String smwd2;
    private String smwd3;
    private String smwd4;
    private String xmwd1;
    private String xmwd2;
    private String xmwd3;
    private String xmwd4;
    private String xjsj;
    private String tssj;
    private String zysj;
    private String dn;
    @TableField("machineNo")
    private String machineNo;
    @TableField("machineName")
    private String machineName;
    @TableField("machineCode")
    private String machineCode;
    @TableField("machineFlag")
    private String machineFlag;

    private String timestr;

    /**
     * 数据指纹（MD5）
     * 用于去重判断
     */
    @TableField(exist = false) // 不映射数据库字段
    private String dataFingerprint;


}
