package com.fdkankan.mq.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.rocketmq.common.message.Message;
import org.springframework.messaging.support.MessageBuilder;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MQBodyBean implements Serializable {

    private String id;

    private Object content;

    private Date date;
}
