#
18516761980
2022-06-09 d251a0234fae2d58ff8a9d92069064617dc0a94b
src/main/java/com/zy/core/properties/SlaveProperties.java
@@ -13,11 +13,22 @@
/**
 * 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<>();
@@ -29,4 +40,6 @@
    private List<Slave> scale = new ArrayList<>();
    private List<Slave> car = new ArrayList<>();
}