package cn.reghao.oss.store.config.props;

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

/**
 * @author reghao
 * @date 2024-02-23 12:54:20
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "dubbo")
public class DubboProperties {
    private Protocol protocol;

    @Setter
    @Getter
    static class Protocol {
        private String name;
        private int port;
    }
}
