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 com.njcn.db.bo.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * app暂态消息表
 * </p>
 *
 * @author wr
 * @since 2023-10-31
 */
@Getter
@Setter
@TableName("app_event_msg")
@ApiModel(value = "AppEventMsg对象", description = "app暂态消息表")
public class AppEventMsg  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("暂态消息Guid")
    @TableId("EventMsg_Index")
    private String eventmsgIndex;

    @ApiModelProperty("(关联app_user表User_Index)权限用户id")
    @TableField("User_Index")
    private String userIndex;

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

    @ApiModelProperty("触发时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("Time_Id")
    private LocalDateTime timeID;

    @ApiModelProperty("读取状态(0：未读，1：已读，2：删除)")
    @TableField("state")
    private Integer state;


}
