package com.iformall.config;

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

@Data
@Component
@ConfigurationProperties(prefix="spring.rabbitmq")
public class RabbitMqProperty {
    private String host;

    private int port;

    private String username;

    private String password;

    private String virtualHost;
}
