package com.ltgk.message.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 消息列表视图
 *
 * @author Qi ChengBin
 * @date 2025/01/06 11:22:36
 */
@Data
public class MessageListVo {

    @ApiModelProperty(value = "消息log id")
    @JsonProperty("id")
    private String id;

    @ApiModelProperty(value = "消息id")
    @JsonProperty("messageId")
    private String messageId;

    @ApiModelProperty(value = "发送部门id")
    @JsonProperty("sendDepartId")
    private String sendDepartId;

    @ApiModelProperty(value = "接收部门id")
    @JsonProperty("receiveDepartId")
    private String receiveDepartId;

    @ApiModelProperty(value = "发送方式 1:直接发送，2:指派下发")
    @JsonProperty("sendType")
    private String sendType;

    @ApiModelProperty(value = "消息状态 0:未读，1:已读，2:已下发")
    @JsonProperty("state")
    private Integer state;

    @ApiModelProperty(value = "读取用户id")
    @JsonProperty("readUid")
    private String readUid;

    @ApiModelProperty(value = "读取时间")
    @JsonProperty("readTime")
    private String readTime;

    @ApiModelProperty(value = "下发用户id")
    @JsonProperty("issuedUid")
    private String issuedUid;

    @ApiModelProperty(value = "下发时间")
    @JsonProperty("issuedTime")
    private String issuedTime;

    @ApiModelProperty(value = "消息标题")
    @JsonProperty("title")
    private String title;

    @ApiModelProperty(value = "消息内容")
    @JsonProperty("content")
    private String content;

    @ApiModelProperty(value = "消息等级 1:紧急，2:平急，3:一般")
    @JsonProperty("messageLevel")
    private String messageLevel;

    @ApiModelProperty(value = "附件id")
    @JsonProperty("fileId")
    private String fileId;

    @ApiModelProperty(value = "附件名称")
    @JsonProperty("fileName")
    private String fileName;

    @ApiModelProperty(value = "消息类型 1:信息公示，2:工作寻呼")
    @JsonProperty("messageType")
    private String messageType;

    @ApiModelProperty(value = "发布部门名称")
    @JsonProperty("sendDepartName")
    private String sendDepartName;

    @ApiModelProperty(value = "接收部门名称")
    @JsonProperty("receiveDepartName")
    private String receiveDepartName;

    @ApiModelProperty(value = "发送时间")
    @JsonProperty("sendTime")
    private String sendTime;

    @ApiModelProperty(value = "回复内容")
    @JsonProperty("replaceContent")
    private String replaceContent;

    @ApiModelProperty(value = "回复时间")
    @JsonProperty("replaceTime")
    private String replaceTime;

    @ApiModelProperty(value = "回复人uid")
    @JsonProperty("replaceUid")
    private String replaceUid;

    @ApiModelProperty(value = "封面图片id")
    @JsonProperty("coverId")
    private String coverId;

    @ApiModelProperty(value = "接收人uid")
    @JsonProperty("receiveUid")
    private String receiveUid;

    @ApiModelProperty(value = "接收人姓名")
    @JsonProperty("recipients")
    private String recipients;
}
