skyouc
2025-03-07 3f332022ca04a0fa2806f424a1126cb9392a6153
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
41
42
43
44
45
46
47
48
49
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 {
 
 
    /**
     * wms是否允许打印货物标签, 默认可打印
     */
    private Boolean flagPrinter;
 
    /**
     * 是否自动生成ASN单(默认:是),为『否』则开启PO单手动生成ASN单功能
     */
    private Boolean flagAutoAsn;
 
 
 
    @Data
    @Configuration
    @ConfigurationProperties(prefix = "stock.inspect")
    public class InspectProperties {
        /**
         * 是否开启上架校验
         */
        private Boolean flagAvailable;
 
        /**
         * 是否开启收货校验, 上架校验和收货校验,只会开启一个
         */
        private Boolean flagReceiving;
 
    }
 
}