package com.xindazhou.business.controller.admin.message.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 服务消息 Response VO")
@Data
public class ServiceMessageRespVO {

    @Schema(description = "消息ID", example = "1")
    private Long id;

    @Schema(description = "消息类型：notice-通知，announcement-公告，reminder-提醒", example = "notice")
    private String messageType;

    @Schema(description = "消息标题", example = "系统通知")
    private String title;

    @Schema(description = "消息内容", example = "这是一条系统通知...")
    private String content;

    @Schema(description = "目标类型：all-全部用户，user-指定用户，group-用户组", example = "all")
    private String targetType;

    @Schema(description = "目标ID列表（JSON数组）", example = "[1,2,3]")
    private String targetIds;

    @Schema(description = "发送时间")
    private LocalDateTime sendTime;

    @Schema(description = "状态：0-草稿，1-已发送", example = "0")
    private Integer status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "更新人")
    private String updater;

}

