李林
2023-10-07 658d4927d468c47208fd012d9128b09249c07eff
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
package com.chinaztt.mes.quality.entity;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
 
/**
 * @author ZTT
 */
@RefreshScope
@Component
@Data
public class StockBean {
    /**接收采购库存的ip
     *
     */
    @Value("${stock.ip:}")
    private String ip;
    @Value("${stock.region:}")
    private String region;
    @Value("${stock.secretKey:}")
    private String secretKey;
    /**移库的ip
     *
     */
    @Value("${stock.moveStockIp:}")
    private String moveStockIp;
    /**登记检验结果的ip
     *
     */
    @Value("${stock.registrationResultIp:}")
    private String registrationResultIp;
    /**
     * 明文key,正式库使用
     */
    @Value("${stock.cleartextSecretKey:}")
    private String cleartextSecretKey;
 
    @Value("${weighing.gd_1:}")
    private String gd_1;
}