package com.slodon.b2b2c.investment.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author sunshihao
 * @version 1.0
 * @description: rabbitmq
 * @date 2025/8/19 16:37
 */
@Component
@ConfigurationProperties(prefix = "rabbitmq")
@Data
public class RabbitConfig {
    /*
     * 交换机
     */
    private String exchange;
    /*
     * 队列
     */
    private String queue;
    /*
     * 路由
     */
    private String routeKey;

}
