package com.clx.performance.common;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @Author: aiqingguo
 * @Description:
 * @Date: 2023-10-12 14:00:14
 * @Version: 1.0
 */
@Setter
@Getter
@NoArgsConstructor
public class MqDelay<T> {
    
    private String exchange;
    private String routerKey;
    private T data;
 
    public MqDelay(String exchange, String routerKey, T data) {
        this.exchange = exchange;
        this.routerKey = routerKey;
        this.data = data;
    }
}
