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-07
 */
@Getter
@Setter
@TableName("app_dev_msg")
@ApiModel(value = "AppDevMsg对象", description = "终端消息")
public class AppDevMsg  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("终端消息列表Guid")
    @TableId("DevMsg_Index")
    private String devmsgIndex;

    @ApiModelProperty("(关联pqs_top_msg表top_Id)消息id")
    @TableField("Top_Id")
    private String topId;

    @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("读取状态(0：未读，1：已读，2：删除)")
    @TableField("State")
    private Integer state;


}
