package com.njcn.cloud.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 暂态消息详情
 * </p>
 *
 * @author wr
 * @since 2023-11-01
 */
@Getter
@Setter
@TableName("app_event_info")
@ApiModel(value = "AppEventInfo对象", description = "暂态消息详情")
public class AppEventInfo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("(关联表PQS_EventDetail)事件总表Guid")
    @TableId("EventDetail_Index")
    private String eventdetailIndex;

    @ApiModelProperty("对系统是否有影响（0：无;1：有）")
    @TableField("Evaluate")
    private Integer evaluate;

    @ApiModelProperty("(关联app_user表User_Index)暂态评价人")
    @TableField("User_Index")
    private String userIndex;

    @ApiModelProperty("评价时间")
    @TableField("Update_Time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("瞬时波形资源路径")
    @TableField("InstantWave_Path")
    private String instantwavePath;

    @ApiModelProperty("RMS资源路径")
    @TableField("RmsWave_Path")
    private String rmswavePath;

    @ApiModelProperty("报告状态(1-成功，2-失败，3-成功待审核，4-失败待审核，自定义状态)")
    @TableField("Report_State")
    private Integer reportState;

    @ApiModelProperty("报告的资源路径")
    @TableField("Report_Path")
    private String reportPath;


}
