pang.jiabao
6 天以前 f47010b3b237240f342f76c8f77f0475c3ab6052
src/main/java/com/zy/core/properties/SlaveProperties.java
@@ -13,12 +13,23 @@
/**
 * Created by vincent on 2020/8/4
 *
 */
/**
 * 该类整个就是一个通过配置文件来实体化对象类
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wcs-slave")
public class SlaveProperties {
    private boolean doubleDeep;
    private List<Integer> doubleLocs = new ArrayList<>();
    private int groupCount;
    private List<CrnSlave> crn = new ArrayList<>();
    private List<DevpSlave> devp = new ArrayList<>();