package com.xindazhou.message.controller.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Map;

/**
 * 推送请求 DTO
 *
 * @author xindazhou
 */
@Schema(description = "推送请求 DTO")
@Data
public class PushRequestDTO {

    @Schema(description = "用户ID", example = "1")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "车辆ID", example = "100")
    private Long vehicleId;

    @Schema(description = "房间名称", example = "room:123")
    private String room;

    @Schema(description = "推送数据")
    @NotNull(message = "推送数据不能为空")
    private Map<String, Object> data;

}

