package com.cf.imes.module.system.mq.message.advertisement;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotNull;

/**
 * 广告状态更改消息
 *
 * @author 晨丰科技
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdvertisementSendMessage {

    /**
     * 广告id
     */
    @NotNull(message = "广告id不能为空")
    private Long adId;

    /**
     * 消息id
     */
    @NotNull(message = "消息id")
    private String messageId;

    /**
     * 消息类别
     */
    private String action;
}
