package com.njcn.product.event.transientes.pojo.po;

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 java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * Description:
 * Date: 2025/06/20  上午 10:06【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@NoArgsConstructor
@TableName(value = "PQS_EVENTDETAIL")
public class PqsEventdetail {
    @TableId(value = "EVENTDETAIL_INDEX", type = IdType.INPUT)
    private String eventdetailIndex;

    @TableField(value = "LINEID")
    private Integer lineid;

    @TableField(value = "TIMEID")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime timeid;

    @TableField(value = "MS")
    private BigDecimal ms;

    @TableField(value = "\"DESCRIBE\"")
    private String describe;

    @TableField(value = "WAVETYPE")
    private Integer wavetype;

    @TableField(value = "PERSISTTIME")
    private Double persisttime;

    @TableField(value = "EVENTVALUE")
    private Double eventvalue;

    @TableField(value = "EVENTREASON")
    private String eventreason;

    @TableField(value = "EVENTTYPE")
    private String eventtype;

    @TableField(value = "EVENTASS_INDEX")
    private String eventassIndex;

    @TableField(value = "DQTIME")
    private Double dqtime;

    @TableField(value = "DEALTIME")
    private LocalDateTime dealtime;

    @TableField(value = "DEALFLAG")
    private Integer dealflag;

    @TableField(value = "NUM")
    private BigDecimal num;

    @TableField(value = "FILEFLAG")
    private Integer fileflag;

    @TableField(value = "FIRSTTIME")
    private LocalDateTime firsttime;

    @TableField(value = "FIRSTTYPE")
    private String firsttype;

    @TableField(value = "FIRSTMS")
    private BigDecimal firstms;

    @TableField(value = "WAVENAME")
    private String wavename;

    @TableField(value = "ENERGY")
    private Double energy;

    @TableField(value = "SEVERITY")
    private Double severity;

    @TableField(value = "LOOK_FLAG")
    private Integer lookFlag;

    @TableField(value = "NOTICE_FLAG")
    private Integer noticeFlag;

    @TableField(value = "CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @TableField(exist = false)
    private Integer eventSeverity;

    @TableField(exist = false)
    private String stationName;

    @TableField(exist = false)
    private List<String> consumerNameList;

    @TableField(exist = false)
    private String busBarName;
}
