DispatchProperties.java 563 Bytes
package com.diligrp.xtrade.gateway.config.property;

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

/**
 * @Auther: miaoguoxin
 * @Date: 2020/4/15 17:35
 */
@Component
@ConfigurationProperties(prefix = "xtrade")
@Data
public class DispatchProperties {
    /** 扫描包路径 */
    private String[] aggregationScanPackages;

    public DispatchProperties(String[] aggregationScanPackages) {
        this.aggregationScanPackages = aggregationScanPackages;
    }
}