package com.sonic.pigeon.domain.output;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: mzc
 * @date: 2025-08-25 16:11
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class MessageListOutput {

    @ApiModelProperty("消息ID")
    private Long id;

    @ApiModelProperty("发送人用户ID")
    private Long sendUserId;

    @ApiModelProperty("消息类型")
    private Integer type;

    @ApiModelProperty("导致消息发送的业务ID")
    private String bizId;

    @ApiModelProperty("消息状态（0未读、1已读）")
    private Integer status;

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

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

    @ApiModelProperty("消息扩展内容")
    private String extras;

    @ApiModelProperty("国家化翻译替换数据")
    private String replaceJson;

    @ApiModelProperty("消息时间")
    private LocalDateTime createTime;
}
