skyouc
2025-03-06 666edb2c889556d3d963c341241cf43fafd32434
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.vincent.rsf.server.common.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
 
/**
 * @author Ryan
 * @version 1.0
 * @title SysStockFlowProperties
 * @description
 * @create 2025/3/5 17:02
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "stock")
public class SysStockFlowProperties {
 
 
 
 
 
    @Data
    @Configuration
    @ConfigurationProperties(prefix = "stock.inspect")
    public class InspectProperties {
        /**
         * 是否开启上架校验
         */
        private Boolean flagAvailable;
 
        /**
         * 是否开启收货校验, 上架校验和收货校验,只会开启一个
         */
        private Boolean flagReceiving;
 
    }
 
}