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>
 * 稳态消息
 * </p>
 *
 * @author wr
 * @since 2023-11-03
 */
@Getter
@Setter
@TableName("app_steady_msg")
@ApiModel(value = "AppSteadyMsg对象", description = "稳态消息")
public class AppSteadyMsg  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("稳态消息列表Guid")
    @TableId("Steady_Index")
    private String steadyIndex;

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

    @ApiModelProperty("统计时间")
    @TableField("Time_Id")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime timeId;

    @ApiModelProperty("越限监测点数")
    @TableField("Line_Num")
    private Integer lineNum;

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


}
